mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
Feature 511 : fix problems with calendar functions
add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -458,6 +458,12 @@ function do_maintenance_all_tables()
|
||||
}
|
||||
}
|
||||
|
||||
function pwg_db_concat($array)
|
||||
{
|
||||
$string = implode($array, ',');
|
||||
return 'CONCAT('. $string.')';
|
||||
}
|
||||
|
||||
function pwg_db_concat_ws($array, $separator)
|
||||
{
|
||||
$string = implode($array, ',');
|
||||
|
||||
Reference in New Issue
Block a user