From a9849aa9b661cce3563b5db1013d88091da4faa6 Mon Sep 17 00:00:00 2001 From: nikrou Date: Mon, 5 Jul 2010 21:18:14 +0000 Subject: Bug 1763 fixed : [PostgreSQL] double quote used in queries git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions_category.inc.php') diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index e6ebf5c84..7c4634c3f 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -406,7 +406,7 @@ function get_cat_id_from_permalinks( $permalinks, &$idx ) foreach($permalinks as $permalink) { if ( !empty($in) ) $in.=', '; - $in .= '"'.$permalink.'"'; + $in .= '\''.$permalink.'\''; } $query =' SELECT cat_id AS id, permalink, 1 AS is_old -- cgit v1.2.3