From 1da8e53dd46adaf561c044ea07fc586e07533d2e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 16 Sep 2010 17:24:05 +0000 Subject: 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 --- admin/element_set_global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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)); -- cgit v1.2.3