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

View File

@ -126,6 +126,7 @@ class Rpost extends \Zotlabs\Web\Controller {
'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''), 'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''),
'return_path' => 'rpost/return', 'return_path' => 'rpost/return',
'bbco_autocomplete' => 'bbcode', 'bbco_autocomplete' => 'bbcode',
'editor_autocomplete'=> true,
'bbcode' => true 'bbcode' => true
); );