diff options
author | gweltas <gweltas@piwigo.org> | 2004-01-12 23:41:53 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-01-12 23:41:53 +0000 |
commit | 0fa0c8bb07c80884ac8b79560ba4c4119abfcd5c (patch) | |
tree | 520a704560749c2e5a981092bae7db99e34cf27b /admin/include | |
parent | 7b8d0b8dd8d3f5fa25dedaadb922525e7c95ee3b (diff) |
Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 2f45ce905..0207bd9b8 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -869,7 +869,7 @@ function update_user_restrictions( $user_id ) $query.= "'".implode( ',', $restrictions )."'"; else $query.= 'NULL'; - $queries .= ' WHERE id = '.$row['id']; + $query .= ' WHERE id = $user_id'; $query.= ';'; mysql_query( $query ); |