diff options
author | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
commit | 7c43a3c62d28162ee70e960f51e048727725cb31 (patch) | |
tree | 1b967195f4edf6db91bf25a6facda55ad08a8935 /admin/profile.php | |
parent | b86d4ac0b89e167bedbd03805e7c7024da5cef03 (diff) |
Issue 578
User guest must be real user
Step 1: guest is a real user
On next commit, I finish installation and use of guest of user list and group
git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/profile.php')
-rw-r--r-- | admin/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/profile.php b/admin/profile.php index 2263a6fff..9643aaf79 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -35,7 +35,7 @@ include_once(PHPWG_ROOT_PATH.'profile.php'); $errors = array(); if ( !is_adviser() ) { - save_profile_from_post( $edit_user, $errors); + save_profile_from_post($edit_user, $errors); } load_profile_in_template( @@ -43,7 +43,7 @@ load_profile_in_template( get_root_url().'admin.php?page=user_list', $edit_user ); -$page['errors'] = array_merge($page['errors'], $errors ); +$page['errors'] = array_merge($page['errors'], $errors); $template->set_filename('profile', 'admin/profile.tpl'); $template->assign_var_from_handle('ADMIN_CONTENT', 'profile'); |