aboutsummaryrefslogtreecommitdiffstats
path: root/admin/profile.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/profile.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/profile.php b/admin/profile.php
index ebb372518..7b0ad707c 100644
--- a/admin/profile.php
+++ b/admin/profile.php
@@ -33,10 +33,7 @@ if (!empty($_POST))
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(
get_root_url().'admin.php?page=profile&user_id='.$edit_user['id'],