From 4cd5b05d406a9820a0523ac26f254f4ce4fd5147 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 28 Feb 2006 01:13:16 +0000 Subject: remake of Remote sites and synchronize: final integration and old code cleanup fix: xml getAttribute always decodes html entities and added encodeAttribute function git-svn-id: http://piwigo.org/svn/trunk@1058 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'category.php') 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']) { -- cgit v1.2.3