Hopefully fix #406 -- store_user_pref(), not $store_user_pref()

This commit is contained in:
Solomon Peachy 2009-02-09 16:18:06 -05:00
parent 8830c57b34
commit 5e4f703f23
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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);