This commit is contained in:
redmatrix
2016-08-21 16:26:30 -07:00
parent 4cf172d46f
commit 4d34d9c032
2 changed files with 3 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ class Acl extends \Zotlabs\Web\Controller {
);
$permitted = ids_to_array($x,'xchan');
}
@@ -249,7 +250,7 @@ class Acl extends \Zotlabs\Web\Controller {
);
if($z) {
foreach($z as $zz) {
if(in_array($zz['id'],$permitted)) {
if(in_array($zz['hash'],$permitted)) {
$r[] = $zz;
}
}