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.102,1.10


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

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

Modified Files:
        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.102
retrieving revision 1.103
diff -C2 -r1.102 -r1.103
*** class.categories.inc.php    20 Oct 2002 22:01:46 -0000      1.102
--- class.categories.inc.php    16 Mar 2003 22:16:33 -0000      1.103
***************
*** 139,143 ****
                @result $cats array
                */
!               function return_array($type,$start,$limit = True,$query = 
'',$sort = '',$order = '',$globals = False, $parent_id = '')
                {
                        if ($globals)
--- 139,143 ----
                @result $cats array
                */
!               function return_array($type,$start,$limit = True,$query = 
'',$sort = '',$order = '',$globals = False, $parent_id = '## undef ##')
                {
                        if ($globals)
***************
*** 184,188 ****
                        }
  
!                       if ($parent_id)
                        {
                                $parent_filter = " AND cat_parent='$parent_id'";
--- 184,188 ----
                        }
  
!                       if ($parent_id != '## undef ##')
                        {
                                $parent_filter = " AND cat_parent='$parent_id'";





reply via email to

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