From 2a75bbb9e5e1cafa39512aff28ec64fda7b3bf2b Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 1 Nov 2013 09:33:56 +0000 Subject: syntax error fixed git-svn-id: http://piwigo.org/svn/trunk@25276 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index fdef127a2..aa1a535a7 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -990,7 +990,7 @@ SELECT * FROM '.IMAGES_TABLE.' LIMIT 1'; $result = pwg_query($query); - if (pwg_db_num_rows($resul) == 0) + if (pwg_db_num_rows($result) == 0) { return new PwgError(404, "image_id not found"); } -- cgit v1.2.3