aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-11-01 09:33:56 +0000
committerplegall <plg@piwigo.org>2013-11-01 09:33:56 +0000
commit2a75bbb9e5e1cafa39512aff28ec64fda7b3bf2b (patch)
tree7d61cc562c77e0c7a52f4887b898ad8c84216173
parent53f61f2b13b44440bc456db5f358a32b132d491a (diff)
syntax error fixed
git-svn-id: http://piwigo.org/svn/trunk@25276 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 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");
}