phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.acl.inc.php, 1.65.4.14


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.acl.inc.php, 1.65.4.14
Date: Mon, 7 Jun 2004 16:02:28 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.acl.inc.php

date: 2004/06/07 14:02:28;  author: skwashd;  state: Exp;  lines: +3 -3

Log Message:
fix for bug found by Harriv on IRC
=====================================================================
Index: phpgwapi/inc/class.acl.inc.php
diff -u phpgwapi/inc/class.acl.inc.php:1.65.4.13 
phpgwapi/inc/class.acl.inc.php:1.65.4.14
--- phpgwapi/inc/class.acl.inc.php:1.65.4.13    Tue Feb 10 13:51:17 2004
+++ phpgwapi/inc/class.acl.inc.php      Mon Jun  7 14:02:28 2004
@@ -236,7 +236,7 @@
                                {
                                        $sql = 'insert into phpgw_acl 
(acl_appname, acl_location, acl_account, acl_rights)';
                                        $sql .= " 
values('".$this->data[$idx]['appname']."', '"
-                                               . 
$this->data[$idx]['location']."', ".$this->account_id.', 
'.$this->data[$idx]['rights'].')';
+                                               . 
$this->data[$idx]['location']."', ".$this->account_id.', '. 
intval($this->data[$idx]['rights']).')';
                                        $this->db->query($sql 
,__LINE__,__FILE__);
                                }
                        }
@@ -765,4 +765,4 @@
                        return $grants;
                }
        }
-?>
\ No newline at end of file
+?>




reply via email to

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