aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-28 12:28:49 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-28 12:28:49 +0100
commit8073be87da589a1cb24a186a04ea7b7dd21ff055 (patch)
tree9630d62f8b9a352830ba400c421bc2d137995b62
parent8d3bf59b7b350f10f943ef7a0de5a4d285d90c33 (diff)
downloadvolse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.tar.gz
volse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.tar.bz2
volse-hubzilla-8073be87da589a1cb24a186a04ea7b7dd21ff055.zip
set profile_uid in mod hq
-rw-r--r--Zotlabs/Module/Hq.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php
index bebd968f4..6bc65e44e 100644
--- a/Zotlabs/Module/Hq.php
+++ b/Zotlabs/Module/Hq.php
@@ -10,6 +10,13 @@ require_once('include/items.php');
class Hq extends \Zotlabs\Web\Controller {
+ function init() {
+ if(! local_channel())
+ return;
+
+ \App::$profile_uid = local_channel();
+ }
+
function post() {
if(!local_channel())