[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php |
Date: |
Mon, 04 Sep 2006 13:07:00 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/09/04 13:07:00
Modified files:
inc : class.categories.inc.php
Log message:
more undefined variables
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.categories.inc.php?cvsroot=phpgwapi&r1=1.131&r2=1.132
Patches:
Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -b -r1.131 -r1.132
--- class.categories.inc.php 1 Sep 2006 14:40:34 -0000 1.131
+++ class.categories.inc.php 4 Sep 2006 13:07:00 -0000 1.132
@@ -7,7 +7,7 @@
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
- * @version $Id: class.categories.inc.php,v 1.131 2006/09/01 14:40:34
skwashd Exp $
+ * @version $Id: class.categories.inc.php,v 1.132 2006/09/04 13:07:00
skwashd Exp $
*/
/**
@@ -126,6 +126,7 @@
$sort = $this->db->db_addslashes($sort);
$order = $this->db->db_addslashes($order);
+ $global_cats = '';
if ($globals)
{
$global_cats = " OR cat_appname='phpgw'";
@@ -223,6 +224,7 @@
$this->db->query($sql .
$ordermethod,__LINE__,__FILE__);
}
+ $cats = array();
while ($this->db->next_record())
{
if ($column)
@@ -304,6 +306,7 @@
$this->db->query($sql . $parent_select .
$ordermethod,__LINE__,__FILE__);
$total = $this->db->num_rows();
+ $cats = array();
while ($this->db->next_record())
{
$cats[] = array