aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-19 19:39:15 +0000
committernikrou <nikrou@piwigo.org>2010-03-19 19:39:15 +0000
commit4c461f36b167641fd7e0182d8c2a88f578c14e58 (patch)
treed44f2b7c8fff005db118f177b8f96a0b7f785246 /include/functions_category.inc.php
parent6b296b293d7ac666548ec74cecf827699f912ff7 (diff)
Fix some sql issues :
- permalink that use if() syntax - add tables themes for other database engines that mysql git-svn-id: http://piwigo.org/svn/trunk@5192 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r--include/functions_category.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 4ce30a75a..187ecbe8f 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -311,6 +311,10 @@ function display_select_categories($categories,
$tpl_cats = array();
foreach ($categories as $category)
{
+ if (!empty($category['permalink']))
+ {
+ $category['name'] .= ' &radic;';
+ }
if ($fullname)
{
$option = get_cat_display_name_cache($category['uppercats'],