From 13ea9d50e35d9dd8cf7235a39d97a344e6091ea0 Mon Sep 17 00:00:00 2001 From: nikrou Date: Wed, 25 Nov 2009 19:02:57 +0000 Subject: Feature 1255: modification in sql queries - manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_modify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/cat_modify.php') diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 06a001253..5dc39954c 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -67,7 +67,7 @@ if (isset($_POST['submit'])) array( 'id' => $_GET['cat_id'], 'name' => @$_POST['name'], - 'commentable' => $_POST['commentable'], + 'commentable' => isset($_POST['commentable'])?$_POST['commentable']:'false', 'uploadable' => isset($_POST['uploadable']) ? $_POST['uploadable'] : 'false', 'comment' => -- cgit v1.2.3