mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix undefined variables
This commit is contained in:
@@ -2096,7 +2096,7 @@ class Libzot {
|
||||
|
||||
$raw_activity = $AS->data;
|
||||
|
||||
$AS = new ActivityStreams($raw_activity['object'], portable_id: $env['sender']);
|
||||
$AS = new ActivityStreams($raw_activity['object']);
|
||||
|
||||
// Store the original activity id and type for later usage
|
||||
$AS->meta['original_id'] = $original_id;
|
||||
|
||||
@@ -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('⋕') . '[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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user