diff options
Diffstat (limited to '')
-rw-r--r-- | category.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/category.php b/category.php index 38d18e11f..bc0d8c28b 100644 --- a/category.php +++ b/category.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) // | file : $RCSfile$ @@ -435,7 +435,7 @@ if ( isset ( $page['cat'] ) ) { // upload a picture in the category if (is_numeric($page['cat']) - and $page['cat_site_id'] == 1 +// and $page['cat_site_id'] == 1 and $page['cat_dir'] != '' and $page['cat_uploadable']) { |