From 96f24f3ddcdf3122ca1e0e21cac45fa309640d0b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 30 Dec 2004 08:36:48 +0000 Subject: - 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 --- admin/cat_modify.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'admin/cat_modify.php') 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 = '; -- cgit v1.2.3