aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-03 21:40:47 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-03 21:40:47 +0000
commit5dddcea90c3616dd2d6d595c1320c82b4b1842d4 (patch)
treef48379228a594e4f302a97deac1f434ad65f9b98 /admin
parent74878b33e33e541c648d98fe042f7b53c43b2061 (diff)
if associate or dissociate from a group, synchronize_user
git-svn-id: http://piwigo.org/svn/branches/release-1_3@260 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/user_modify.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/user_modify.php b/admin/user_modify.php
index 79425e5f8..5c01de0f5 100644
--- a/admin/user_modify.php
+++ b/admin/user_modify.php
@@ -103,6 +103,8 @@ if ( isset( $_POST['submit'] ) )
$query.= ' ('.$_GET['user_id'].','.$_POST['associate'].')';
$query.= ';';
mysql_query( $query );
+ // synchronize category informations for this user
+ synchronize_user( $_GET['user_id'] );
}
//-------------------------------------------------------------- errors display
if ( sizeof( $error ) != 0 )