[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/inc class.Categories_UI.inc.php [skwashd-16-c
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] sitemgr/inc class.Categories_UI.inc.php [skwashd-16-compat] |
Date: |
Sun, 15 Oct 2006 04:07:09 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: sitemgr
Branch: skwashd-16-compat
Changes by: Dave Hall <skwashd> 06/10/15 04:07:09
Modified files:
inc : class.Categories_UI.inc.php
Log message:
notices
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Categories_UI.inc.php?cvsroot=phpgroupware&only_with_tag=skwashd-16-compat&r1=1.1.2.1.4.3&r2=1.1.2.1.4.4
Patches:
Index: class.Categories_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Categories_UI.inc.php,v
retrieving revision 1.1.2.1.4.3
retrieving revision 1.1.2.1.4.4
diff -u -b -r1.1.2.1.4.3 -r1.1.2.1.4.4
--- class.Categories_UI.inc.php 14 Aug 2006 06:44:55 -0000 1.1.2.1.4.3
+++ class.Categories_UI.inc.php 15 Oct 2006 04:07:09 -0000 1.1.2.1.4.4
@@ -135,6 +135,11 @@
//we use force here since we might edit an
archive category
$cat =
$this->cat_bo->getCategory($cat_id,$this->sitelanguages[0],True);
}
+ else
+ {
+ $cat =
createObject('sitemgr.Category_SO');//this stops problems with notices
+ $cat->state = SITEMGR_STATE_DRAFT;
+ }
$this->t->set_file('EditCategory', 'edit_category.tpl');
$this->t->set_block('EditCategory','GroupBlock',
'GBlock');
- [Phpgroupware-cvs] sitemgr/inc class.Categories_UI.inc.php [skwashd-16-compat],
Dave Hall <=