bug fixed: Admin>Config>Options>GuestSettings must show the guest settings,

not the default user settings.

git-svn-id: http://piwigo.org/svn/trunk@5994 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2010-04-29 12:55:46 +00:00
parent 53f66ba4ef
commit 6e67764dd0

View file

@ -320,7 +320,7 @@ switch ($page['section'])
} }
case 'default' : case 'default' :
{ {
$edit_user = build_user($conf['default_user_id'], false); $edit_user = build_user($conf['guest_id'], false);
include_once(PHPWG_ROOT_PATH.'profile.php'); include_once(PHPWG_ROOT_PATH.'profile.php');
$errors = array(); $errors = array();