phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api class.phpgw.php,1.1.1.1.2.37,1.1.1.1.2.38


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api class.phpgw.php,1.1.1.1.2.37,1.1.1.1.2.38
Date: Fri, 21 Nov 2003 00:39:34 +0000

Update of /cvsroot/phpgroupware/api
In directory subversions:/tmp/cvs-serv26302/api

Modified Files:
      Tag: proposal-branch
        class.phpgw.php 
Log Message:
Possiable better temp fix for crashes


Index: class.phpgw.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/class.phpgw.php,v
retrieving revision 1.1.1.1.2.37
retrieving revision 1.1.1.1.2.38
diff -C2 -d -r1.1.1.1.2.37 -r1.1.1.1.2.38
*** class.phpgw.php     19 Nov 2003 20:44:27 -0000      1.1.1.1.2.37
--- class.phpgw.php     21 Nov 2003 00:39:31 -0000      1.1.1.1.2.38
***************
*** 413,422 ****
                                        if 
(is_array($GLOBALS['docs'][$appname]['classes'][$appname . '_' . 
$classname]['functions'][$method]['params']))
                                        {
- /*
                                                foreach 
($GLOBALS['docs'][$appname]['classes'][$appname . '_' . 
$classname]['functions'][$method]['params'] as $key => $params)
                                                {
!                                                       $data[$key] = 
get_var($key,'any',$params['type'],$params['default']);
                                                }
- */
                                        }
  
--- 413,422 ----
                                        if 
(is_array($GLOBALS['docs'][$appname]['classes'][$appname . '_' . 
$classname]['functions'][$method]['params']))
                                        {
                                                foreach 
($GLOBALS['docs'][$appname]['classes'][$appname . '_' . 
$classname]['functions'][$method]['params'] as $key => $params)
                                                {
!                                                       // For some odd reason, 
when you call this passing ##REQUIRED## it causes PHP to run out of memory
!                                                       // This appears to be a 
better temp work around then disabling this line.
!                                                       $data[$key] = 
get_var($key,array('GET','POST'),$params['type'],'##NOTSET##');
                                                }
                                        }
  





reply via email to

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