phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.acl2.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.acl2.inc.php
Date: Wed, 22 Mar 2006 10:38:19 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/22 10:38:19

Modified files:
        inc            : class.acl2.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.acl2.inc.php.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: property/inc/class.acl2.inc.php
diff -u property/inc/class.acl2.inc.php:1.8 property/inc/class.acl2.inc.php:1.9
--- property/inc/class.acl2.inc.php:1.8 Mon Jan 30 22:14:19 2006
+++ property/inc/class.acl2.inc.php     Wed Mar 22 10:38:19 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage core
-       * @version $Id: class.acl2.inc.php,v 1.8 2006/01/30 22:14:19 sigurdne 
Exp $
+       * @version $Id: class.acl2.inc.php,v 1.9 2006/03/22 10:38:19 sigurdne 
Exp $
        */
 
        /**
@@ -35,7 +35,9 @@
                {
                        $expected_args[0] = 
Array('name'=>'account_id','default'=>$GLOBALS['phpgw_info']['user']['account_id'],
 'type'=>'number');
                        $expected_args[1] = 
Array('name'=>'host_id','default'=>0, 'type'=>'number');
-                       $expected_args[2] = 
Array('name'=>'app_id','default'=>$GLOBALS['phpgw']->applications->data[$GLOBALS['phpgw_info']['flags']['currentapp']]['id'],
 'type'=>'number');
+//                     $expected_args[2] = 
Array('name'=>'app_id','default'=>$GLOBALS['phpgw']->applications->data[$GLOBALS['phpgw_info']['flags']['currentapp']]['id'],
 'type'=>'number');
+                       $expected_args[2] = 
Array('name'=>'app_id','default'=>$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['id'],
 'type'=>'number');
+
                        $recieved_args = func_get_args();
                        $args = safe_args($expected_args, 
$recieved_args,__LINE__,__FILE__);
                //      $this->db       = $GLOBALS['phpgw']->db;




reply via email to

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