From b2d7edfc173228035f9dfadb73caa01e88b2b7e4 Mon Sep 17 00:00:00 2001 From: nikrou Date: Mon, 5 Jul 2010 21:18:45 +0000 Subject: Bug 1763 fixed : [PostgreSQL] double quote used in queries Merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6665 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/section_init.inc.php') diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 339c0ef5d..48ec6c8d4 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -259,7 +259,7 @@ if ('categories' == $page['section']) SELECT id FROM '.CATEGORIES_TABLE.' WHERE - uppercats LIKE "'.$page['category']['uppercats'].',%" ' + uppercats LIKE \''.$page['category']['uppercats'].',%\' ' .get_sql_condition_FandF( array ( -- cgit v1.2.3