aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_modify.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r--admin/cat_modify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 5dc39954c..17b23ce6c 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -242,9 +242,9 @@ $template->assign(
'status_values' => array('public','private'),
'CAT_STATUS' => $category['status'],
- 'CAT_VISIBLE' => $category['visible'],
- 'CAT_COMMENTABLE' => $category['commentable'],
- 'CAT_UPLOADABLE' => $category['uploadable'],
+ 'CAT_VISIBLE' => boolean_to_string($category['visible']),
+ 'CAT_COMMENTABLE' => boolean_to_string($category['commentable']),
+ 'CAT_UPLOADABLE' => boolean_to_string($category['uploadable']),
'IMG_ORDER_DEFAULT' => empty($category['image_order']) ?
'checked="checked"' : '',