aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-20 21:08:48 +0000
committernikrou <nikrou@piwigo.org>2010-04-20 21:08:48 +0000
commitc277a646c3ebe3f1706909172a03c2fb5814cdf8 (patch)
tree74677535a4b6f0caf30dca3b217d8ba1dd8183b1 /include/ws_functions.inc.php
parentb5d6bbe54fd12904e455dedc5aa4554bf4e76925 (diff)
Fix missing argument for pwg_db_changes()
git-svn-id: http://piwigo.org/svn/trunk@5930 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index fb1bba406..6f2adbf2d 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -900,7 +900,7 @@ UPDATE '.IMAGES_TABLE.'
SET level='.(int)$params['level'].'
WHERE id IN ('.implode(',',$params['image_id']).')';
$result = pwg_query($query);
- $affected_rows = pwg_db_changes();
+ $affected_rows = pwg_db_changes($result);
if ($affected_rows)
{
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');