From 1afee20ed24e9a9d171e9d90ffe0341a5dad7c89 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 9 Oct 2012 19:47:22 +0000 Subject: some code simplification git-svn-id: http://piwigo.org/svn/trunk@18579 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/permalinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/permalinks.php') diff --git a/admin/permalinks.php b/admin/permalinks.php index 4beb0dbc6..6d8e1a820 100644 --- a/admin/permalinks.php +++ b/admin/permalinks.php @@ -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; -- cgit v1.2.3