I'm thinking this is the way it should be. Resetting the variable with each iteration through for the individual records.

This commit is contained in:
skeeter 2001-03-18 18:31:17 +00:00
parent e3f85931ce
commit ecb54c6800

View File

@ -379,6 +379,7 @@ It should use the values in the $this->data
$rights = 0;
if ($this->db->num_rows() == 0 ){ return False; }
while ($this->db->next_record()) {
$rights = 0;
$rights |= $this->db->f('acl_rights');
if (!!($rights & $required) == True){
$accounts[] = intval($this->db->f('acl_account'));