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:
nikrou
2010-02-03 09:26:32 +00:00
parent 7fda6e5af9
commit e1de0d6faf
8 changed files with 75 additions and 25 deletions

View File

@@ -109,7 +109,7 @@ $template->set_filename('permalinks', 'permalinks.tpl' );
$query = '
SELECT
id,
CONCAT(id, " - ", name, IF(permalink IS NULL, "", " √") ) AS name,
'.pwg_db_concat(array('id', '\' - \'', 'name', 'IF(permalink IS NULL, \'\', \' √\')')).' AS name,
uppercats, global_rank
FROM '.CATEGORIES_TABLE;