Hopefully fix #406 -- store_user_pref(), not $store_user_pref()
This commit is contained in:
parent
8830c57b34
commit
5e4f703f23
1
CHANGES
1
CHANGES
|
@ -9,6 +9,7 @@ For further information about Photo Organizer, see its web site at:
|
|||
2.36.2 (???)
|
||||
|
||||
[fix] Adding subscriptions wasn't sending out email notifications [#405]
|
||||
[fix] Logged-in users weren't getting their passwords stored [#406]
|
||||
|
||||
2.36.1 (September 27, 2008)
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ function res_password($database, $password, $orig) {
|
|||
if (!$found) {
|
||||
if ($po_user['id']) {
|
||||
array_push($po_options['passwords'], $password);
|
||||
$store_user_pref($database, $po_user['id'],
|
||||
store_user_pref($database, $po_user['id'],
|
||||
'passwords', serialize($po_options['passwords']));
|
||||
} else {
|
||||
array_push($po_user['passwords'], $password);
|
||||
|
|
Loading…
Reference in New Issue