phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.acl.inc.php,1.65.4.1,1.65.4.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.acl.inc.php,1.65.4.1,1.65.4.2
Date: Sat, 17 May 2003 16:23:58 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.acl.inc.php 
Log Message:
fixed bug, account_id param in constructor was not used

Index: class.acl.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.acl.inc.php,v
retrieving revision 1.65.4.1
retrieving revision 1.65.4.2
diff -C2 -r1.65.4.1 -r1.65.4.2
*** class.acl.inc.php   26 Mar 2003 22:55:48 -0000      1.65.4.1
--- class.acl.inc.php   17 May 2003 20:23:55 -0000      1.65.4.2
***************
*** 63,67 ****
                {
                        $this->db = $GLOBALS['phpgw']->db;
!                       if (! $account_id)
                        {
                                $this->account_id = 
get_account_id($account_id,$GLOBALS['phpgw_info']['user']['account_id']);
--- 63,67 ----
                {
                        $this->db = $GLOBALS['phpgw']->db;
!                       if (!($this->account_id = intval($account_id)))
                        {
                                $this->account_id = 
get_account_id($account_id,$GLOBALS['phpgw_info']['user']['account_id']);
***************
*** 312,315 ****
--- 312,316 ----
                                                        return False;
                                                }
+ 
                                                $rights |= 
$this->data[$idx]['rights'];
                                        }





reply via email to

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