diff options
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
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"); } |