mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-06 08:52:29 +01:00
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:
1 parent
08da40be5f
commit
1da8e53dd4
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user