Next patch... a tiny one for greater security.

regards,
Maât



Index: phpgwapi/inc/accounts/class.accounts_.inc.php
===================================================================
--- phpgwapi/inc/accounts/class.accounts_.inc.php       (revision 18589)
+++ phpgwapi/inc/accounts/class.accounts_.inc.php       (working copy)
@@ -434,7 +434,7 @@
                function get_members()
                {
                        $members = array();
-                       $sql = "SELECT acl_account FROM phpgw_acl WHERE 
acl_appname = 'phpgw_group' and acl_location =" . (int) $this->account_id;
+                       $sql = "SELECT acl_account FROM phpgw_acl WHERE 
acl_appname = 'phpgw_group' and acl_location ='" . (int) $this->account_id . 
"'";
                        $this->db->query($sql,__LINE__,__FILE__);
                        while ($this->db->next_record())
                        {
_______________________________________________
phpGroupWare-developers mailing list
phpGroupWare-developers@gnu.org
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Reply via email to