phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.3.2.3,1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.3.2.3,1.3.2.3.2.1
Date: Sun, 25 May 2003 11:40:40 -0400

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv14879

Modified Files:
      Tag: Version-0_9_16-branch
        class.bocategories.inc.php 
Log Message:
register globals off and php4.1+


Index: class.bocategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.bocategories.inc.php,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.3.2.1
diff -C2 -r1.3.2.3 -r1.3.2.3.2.1
*** class.bocategories.inc.php  13 Mar 2002 21:31:36 -0000      1.3.2.3
--- class.bocategories.inc.php  25 May 2003 15:40:38 -0000      1.3.2.3.2.1
***************
*** 29,35 ****
                function bocategories()
                {
!                       if ($GLOBALS['appname'])
                        {
!                               $this->cats = 
CreateObject('phpgwapi.categories',-1,$GLOBALS['appname']);
                        }
                        else
--- 29,35 ----
                function bocategories()
                {
!                       if ($_GET['appname'])
                        {
!                               $this->cats = 
CreateObject('phpgwapi.categories',-1,$_GET['appname']);
                        }
                        else
***************
*** 40,50 ****
                        $this->read_sessiondata();
  
!                       /* _debug_array($GLOBALS['HTTP_POST_VARS']); */
                        /* Might change this to '' at the end---> */
!                       $start  = $GLOBALS['HTTP_POST_VARS']['start']  ? 
$GLOBALS['HTTP_POST_VARS']['start']  : $GLOBALS['HTTP_GET_VARS']['start'];
!                       $query  = $GLOBALS['HTTP_POST_VARS']['query']  ? 
$GLOBALS['HTTP_POST_VARS']['query']  : $GLOBALS['HTTP_GET_VARS']['query'];
!                       $sort   = $GLOBALS['HTTP_POST_VARS']['sort']   ? 
$GLOBALS['HTTP_POST_VARS']['sort']   : $GLOBALS['HTTP_GET_VARS']['sort'];
!                       $order  = $GLOBALS['HTTP_POST_VARS']['order']  ? 
$GLOBALS['HTTP_POST_VARS']['order']  : $GLOBALS['HTTP_GET_VARS']['order'];
!                       $cat_id = $GLOBALS['HTTP_POST_VARS']['cat_id'] ? 
$GLOBALS['HTTP_POST_VARS']['cat_id'] : $GLOBALS['HTTP_GET_VARS']['cat_id'];
  
                        if(!empty($start) || $start == '0' || $start == 0)
--- 40,50 ----
                        $this->read_sessiondata();
  
!                       /* _debug_array($_POST); */
                        /* Might change this to '' at the end---> */
!                       $start  = get_var('start',array('POST','GET'));
!                       $query  = get_var('query',array('POST','GET'));
!                       $sort   = get_var('sort', array('POST','GET'));
!                       $order  = get_var('order',array('POST','GET'));
!                       $cat_id = get_var('cat_id',array('POST','GET'));
  
                        if(!empty($start) || $start == '0' || $start == 0)





reply via email to

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