diff options
Diffstat (limited to '')
-rw-r--r-- | category.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/category.php b/category.php index 517642e22..5fe713adc 100644 --- a/category.php +++ b/category.php @@ -436,7 +436,9 @@ if ( isset ( $page['cat'] ) ) $vtp->setVar( $handle, 'cat_infos.cat_name', $page['title'] ); } // upload a picture in the category - if ( $page['cat_site_id'] == 1 and $conf['upload_available'] ) + if ( $page['cat_site_id'] == 1 + and $conf['upload_available'] + and $page['cat_uploadable'] ) { $vtp->addSession( $handle, 'upload' ); $url = './upload.php?cat='.$page['cat'].'&expand='.$page['expand']; |