aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-21 16:26:30 -0700
committerredmatrix <git@macgirvin.com>2016-08-21 16:29:16 -0700
commit5c3b06b8a974a8daf96d85ab212e331a0cbc15f6 (patch)
tree7dff7feaf325b8f37e3889364da073aa522b9356
parent38de583db025e297ef9d18ce4c01a19865abb52f (diff)
downloadvolse-hubzilla-5c3b06b8a974a8daf96d85ab212e331a0cbc15f6.tar.gz
volse-hubzilla-5c3b06b8a974a8daf96d85ab212e331a0cbc15f6.tar.bz2
volse-hubzilla-5c3b06b8a974a8daf96d85ab212e331a0cbc15f6.zip
issue #496
-rw-r--r--Zotlabs/Module/Acl.php3
-rw-r--r--Zotlabs/Module/Rpost.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index 03dc6c5d3..8c62f4de9 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -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;
}
}
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php
index 525f053de..28a1f1bb0 100644
--- a/Zotlabs/Module/Rpost.php
+++ b/Zotlabs/Module/Rpost.php
@@ -126,6 +126,7 @@ class Rpost extends \Zotlabs\Web\Controller {
'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''),
'return_path' => 'rpost/return',
'bbco_autocomplete' => 'bbcode',
+ 'editor_autocomplete'=> true,
'bbcode' => true
);