diff options
author | nikrou <nikrou@piwigo.org> | 2010-02-21 17:27:22 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-02-21 17:27:22 +0000 |
commit | 9daf2aa7b6de3cb464b39a05153d42b965409b2b (patch) | |
tree | df6de52ac1f00d207755dc1ea8806e998e3cb9dc /include | |
parent | a8c86a3d91d2a582d7af55239f607055bcca4c00 (diff) |
Feature 1255 : missing quotes in concat function for mysql
git-svn-id: http://piwigo.org/svn/trunk@4929 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/dblayer/functions_mysql.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) |