feature 1845: be able to delete photos added through synhronization (postgres compatibility)

git-svn-id: http://piwigo.org/svn/trunk@6946 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2010-09-16 17:24:05 +00:00
parent 08da40be5f
commit 1da8e53dd4

View File

@@ -316,7 +316,7 @@ SELECT
COUNT(*)
FROM '.IMAGES_TABLE.'
WHERE id IN ('.implode(',', $page['cat_elements_id']).')
AND path NOT LIKE "http%"
AND path NOT LIKE \'http%\'
;';
list($counter) = pwg_db_fetch_row(pwg_query($query));