[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php, 1.74.2.20.2.14
From: |
uid65887 |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php, 1.74.2.20.2.14 |
Date: |
Wed, 27 Apr 2005 08:53:10 -0000 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.categories.inc.php lines: +6 -5
Log Message:
bugfix from forums.phpgw.org - cat_main not saved
====================================================
Index: phpgwapi/inc/class.categories.inc.php
diff -u phpgwapi/inc/class.categories.inc.php:1.74.2.20.2.13
phpgwapi/inc/class.categories.inc.php:1.74.2.20.2.14
--- phpgwapi/inc/class.categories.inc.php:1.74.2.20.2.13 Tue Nov 18
15:45:19 2003
+++ phpgwapi/inc/class.categories.inc.php Tue Dec 23 23:52:40 2003
@@ -4,11 +4,11 @@
* This file written by Joseph Engo <address@hidden> *
* and Bettina Gille address@hidden *
* Category manager
*
- * Copyright (C) 2000, 2001 Joseph Engo, Bettina Gille
*
- * Copyright (C) 2002, 2003 Bettina Gille
*
+ * Copyright 2000 - 2003 Free Software Foundation, Inc
*
*
------------------------------------------------------------------------ *
* This library is part of the phpGroupWare API
*
* http://www.phpgroupware.org
*
+ * This program is part of the GNU project, see http://www.gnu.org/
*
*
------------------------------------------------------------------------ *
* This library is free software; you can redistribute it and/or modify
it *
* under the terms of the GNU Lesser General Public License as published
by *
@@ -558,7 +558,8 @@
if ($values['parent'] > 0)
{
- $values['level'] =
$this->id2name($values['parent'],'level')+1;
+ $values['level'] =
$this->id2name($values['parent'],'level')+1;
+ $values['main'] =
$this->id2name($values['parent'],'main');
}
$values['descr'] =
$this->db->db_addslashes($values['descr']);