aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-29 13:15:25 +0000
committerplegall <plg@piwigo.org>2010-04-29 13:15:25 +0000
commitf117dbe37891635c5a9fe62fd9de7daf47c40cee (patch)
treeea16fa0e64a6750754781abf87be8394ea798ee9
parent6e67764dd018588ee6ad4bed8e953ff206628822 (diff)
bug fixed: Admin>Config>Options>GuestSettings must show the guest settings,
not the default user settings. git-svn-id: http://piwigo.org/svn/trunk@5995 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/configuration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 44df23399..2b293a3ab 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -329,7 +329,7 @@ switch ($page['section'])
if (save_profile_from_post($edit_user, $errors))
{
// Reload user
- $edit_user = build_user($conf['default_user_id'], false);
+ $edit_user = build_user($conf['guest_id'], false);
array_push($page['infos'], l10n('Information data registered in database'));
}
}