syntax error fixed

git-svn-id: http://piwigo.org/svn/trunk@25276 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2013-11-01 09:33:56 +00:00
parent 53f61f2b13
commit 2a75bbb9e5

View File

@@ -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");
}