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:26:30 -0700
commit4d34d9c03269ea9b8ca038a87f5351cfe4dbeff1 (patch)
tree325635fea9cfa554b9c255570dcdbcf6e1d6bcfb
parent4cf172d46f00b34813f6f136f6589db3a282cd66 (diff)
downloadvolse-hubzilla-4d34d9c03269ea9b8ca038a87f5351cfe4dbeff1.tar.gz
volse-hubzilla-4d34d9c03269ea9b8ca038a87f5351cfe4dbeff1.tar.bz2
volse-hubzilla-4d34d9c03269ea9b8ca038a87f5351cfe4dbeff1.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
);