some code simplification

git-svn-id: http://piwigo.org/svn/trunk@18579 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2012-10-09 19:47:22 +00:00
parent 05671cf18c
commit 1afee20ed2
2 changed files with 7 additions and 27 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ include(PHPWG_ROOT_PATH.'admin/include/albums_tab.inc.php');
$query = '
SELECT
id, permalink,
'.pwg_db_concat(array('id', '\' - \'', 'name')).' AS name,
CONCAT(id, " - ", name, IF(permalink IS NULL, "", " √") ) AS name,
uppercats, global_rank
FROM '.CATEGORIES_TABLE;