Fix missing argument for pwg_db_changes()
git-svn-id: http://piwigo.org/svn/trunk@5930 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
b5d6bbe54f
commit
c277a646c3
1 changed files with 1 additions and 1 deletions
|
|
@ -900,7 +900,7 @@ UPDATE '.IMAGES_TABLE.'
|
||||||
SET level='.(int)$params['level'].'
|
SET level='.(int)$params['level'].'
|
||||||
WHERE id IN ('.implode(',',$params['image_id']).')';
|
WHERE id IN ('.implode(',',$params['image_id']).')';
|
||||||
$result = pwg_query($query);
|
$result = pwg_query($query);
|
||||||
$affected_rows = pwg_db_changes();
|
$affected_rows = pwg_db_changes($result);
|
||||||
if ($affected_rows)
|
if ($affected_rows)
|
||||||
{
|
{
|
||||||
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue