aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Tagger.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Tagger.php')
-rw-r--r--Zotlabs/Module/Tagger.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Module/Tagger.php b/Zotlabs/Module/Tagger.php
index b6067be5e..a88a3b112 100644
--- a/Zotlabs/Module/Tagger.php
+++ b/Zotlabs/Module/Tagger.php
@@ -1,6 +1,7 @@
<?php
namespace Zotlabs\Module;
+use App;
use Zotlabs\Lib\Libsync;
require_once('include/security.php');
@@ -18,6 +19,7 @@ class Tagger extends \Zotlabs\Web\Controller {
}
$sys = get_sys_channel();
+ $channel = App::get_channel();
$observer_hash = get_observer_hash();
//strip html-tags
@@ -125,10 +127,6 @@ class Tagger extends \Zotlabs\Web\Controller {
$termlink = html_entity_decode('&#x22d5;') . '[zrl=' . z_root() . '/search?tag=' . urlencode($clean_term) . ']'. $clean_term . '[/zrl]';
- $channel = \App::get_channel();
-
- $arr = array();
-
$arr['owner_xchan'] = $item['owner_xchan'];
$arr['author_xchan'] = $channel['channel_hash'];