aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-09-16 17:24:05 +0000
committerrvelices <rv-github@modusoptimus.com>2010-09-16 17:24:05 +0000
commit1da8e53dd46adaf561c044ea07fc586e07533d2e (patch)
tree682c563d5a1ea5224860546490df124d02954580 /admin/element_set_global.php
parent08da40be5fa88edd7661de77a11ae4955771d471 (diff)
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
Diffstat (limited to '')
-rw-r--r--admin/element_set_global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php
index 87efab452..1a6c82b85 100644
--- a/admin/element_set_global.php
+++ b/admin/element_set_global.php
@@ -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));