cleaned up ACL expansion to remove unwanted '0' elements

This commit is contained in:
Mike Macgirvin 2010-09-26 19:44:03 -07:00
parent 34eedb503a
commit 84d2ad8ebf
3 changed files with 12 additions and 8 deletions

View file

@ -115,7 +115,7 @@
$recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups),SORT_NUMERIC);
$deny = array_unique(array_merge($deny_people,$deny_groups),SORT_NUMERIC);
$recipients = array_diff($recipients,$deny);
$conversant_str = dbesc(implode(', ',$conversants));
@ -253,7 +253,7 @@
}
}
}
$atom .= "</feed>\r\n";
$atom .= '</feed>' . "\r\n";
if($debugging)
echo $atom;