phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.18


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.18,1.74.2.19
Date: Sun, 16 Mar 2003 17:12:05 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv26975

Modified Files:
      Tag: Version-0_9_14-branch
        class.categories.inc.php 
Log Message:
skwashd's patch to be able to retrive entries with parent_id == 0


Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.74.2.18
retrieving revision 1.74.2.19
diff -C2 -r1.74.2.18 -r1.74.2.19
*** class.categories.inc.php    18 Dec 2002 00:22:24 -0000      1.74.2.18
--- class.categories.inc.php    16 Mar 2003 22:12:02 -0000      1.74.2.19
***************
*** 118,122 ****
                @result $cats array
                */
!               function return_array($type,$start,$limit = True,$query = 
'',$sort = '',$order = '',$globals = False, $parent_id = '')
                {
                        if ($globals)
--- 118,122 ----
                @result $cats array
                */
!               function return_array($type,$start,$limit = True,$query = 
'',$sort = '',$order = '',$globals = False, $parent_id = '## undef ##')
                {
                        if ($globals)
***************
*** 163,167 ****
                        }
  
!                       if ($parent_id)
                        {
                                $parent_filter = " AND cat_parent='$parent_id'";
--- 163,167 ----
                        }
  
!                       if ($parent_id != '## undef ##')
                        {
                                $parent_filter = " AND cat_parent='$parent_id'";





reply via email to

[Prev in Thread] Current Thread [Next in Thread]