aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_perm.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/user_perm.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/user_perm.php b/admin/user_perm.php
index d272552ae..19f7e4b6f 100644
--- a/admin/user_perm.php
+++ b/admin/user_perm.php
@@ -52,13 +52,14 @@ if ( isset( $_POST['submit'] ) )
}
}
check_favorites( $_GET['user_id'] );
+ synchronize_user( $_GET['user_id'] );
$vtp->addSession( $sub, 'confirmation' );
$url = './admin.php?page=user_list';
$vtp->setVar( $sub, 'confirmation.back_url', add_session_id( $url ) );
$vtp->closeSession( $sub, 'confirmation' );
}
//---------------------------------------------------------------- form display
-$restrictions = get_restrictions( $_GET['user_id'], $page['user_status'],
+$restrictions = get_user_restrictions( $_GET['user_id'], $page['user_status'],
false, false );
$action = './admin.php?page=user_perm&user_id='.$_GET['user_id'];
$vtp->setVar( $sub, 'action', add_session_id( $action ) );