mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
- 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
This commit is contained in:
@@ -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 = ';
|
||||
|
||||
Reference in New Issue
Block a user