From c277a646c3ebe3f1706909172a03c2fb5814cdf8 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 20 Apr 2010 21:08:48 +0000 Subject: Fix missing argument for pwg_db_changes() git-svn-id: http://piwigo.org/svn/trunk@5930 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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'); -- cgit v1.2.3