aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-30 08:36:48 +0000
committerplegall <plg@piwigo.org>2004-12-30 08:36:48 +0000
commit96f24f3ddcdf3122ca1e0e21cac45fa309640d0b (patch)
treecf5ee12b337a94f36393f092ec3bcb63f407123e /admin
parente57538219f07b8d7d8766560dce846fc4a1bff12 (diff)
- bug fixed on setting commentable property for a single category (bug in
template and in query generation) - bug on determining whether an element is commentable or not depending on categories it belongs to git-svn-id: http://piwigo.org/svn/trunk@668 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/cat_modify.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 201592e30..02c9b12dd 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -63,6 +63,9 @@ if ( isset( $_POST['submit'] ) )
if ( isset( $_POST['uploadable'] ) )
$query.= ", uploadable = '".$_POST['uploadable']."'";
+ if ( isset( $_POST['commentable'] ) )
+ $query.= ", commentable = '".$_POST['commentable']."'";
+
if ( isset( $_POST['associate'] ) )
{
$query.= ', id_uppercat = ';