From 9daf2aa7b6de3cb464b39a05153d42b965409b2b Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 21 Feb 2010 17:27:22 +0000 Subject: Feature 1255 : missing quotes in concat function for mysql git-svn-id: http://piwigo.org/svn/trunk@4929 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/dblayer/functions_mysql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dblayer/functions_mysql.inc.php') diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index f94984514..50253237f 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -461,7 +461,7 @@ function do_maintenance_all_tables() function pwg_db_concat($array) { $string = implode($array, ','); - return 'CONCAT('. $string.')'; + return 'CONCAT(\''. $string.'\')'; } function pwg_db_concat_ws($array, $separator) -- cgit v1.2.3