mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-09 23:12:31 +01:00
Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
7b8d0b8dd8
commit
0fa0c8bb07
9 files changed
+41
-26
No files matched your search
@@ -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 );
|
||||
|
||||
|
||||
Reference in new issue
Block a user