diff options
author | nikrou <nikrou@piwigo.org> | 2009-11-29 12:35:19 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-11-29 12:35:19 +0000 |
commit | c96097529e49943eddba78d70e23e38c0eac494d (patch) | |
tree | 5925d92bcad222348680a3ea6253d5743dbe38a4 /admin/cat_modify.php | |
parent | 13ea9d50e35d9dd8cf7235a39d97a344e6091ea0 (diff) |
Feature_1255 :
- single quotes in queries
- start using $conf['dblayer']
git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/cat_modify.php | 6 |
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"' : '', |