aboutsummaryrefslogtreecommitdiffstats
path: root/admin/permalinks.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-10-09 19:47:22 +0000
committerrvelices <rv-github@modusoptimus.com>2012-10-09 19:47:22 +0000
commit1afee20ed24e9a9d171e9d90ffe0341a5dad7c89 (patch)
treeaec329a738f4397ba64167379f489cb990589bde /admin/permalinks.php
parent05671cf18cfa0eff7757930fda00bdc19f83dbc6 (diff)
some code simplification
git-svn-id: http://piwigo.org/svn/trunk@18579 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/permalinks.php')
-rw-r--r--admin/permalinks.php2
1 files changed, 1 insertions, 1 deletions
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, "", " &radic;") ) AS name,
uppercats, global_rank
FROM '.CATEGORIES_TABLE;