Fixes "Undefined property: Friendica\App::$queue"
This commit is contained in:
parent
44953f045e
commit
7703875b55
|
@ -369,6 +369,8 @@ class Worker
|
||||||
// For this reason the variables have to be initialized.
|
// For this reason the variables have to be initialized.
|
||||||
$a->getProfiler()->reset();
|
$a->getProfiler()->reset();
|
||||||
|
|
||||||
|
$a->queue = $queue;
|
||||||
|
|
||||||
$up_duration = microtime(true) - self::$up_start;
|
$up_duration = microtime(true) - self::$up_start;
|
||||||
|
|
||||||
// Reset global data to avoid interferences
|
// Reset global data to avoid interferences
|
||||||
|
|
|
@ -808,7 +808,7 @@ class Post extends BaseObject
|
||||||
|
|
||||||
foreach ($terms as $term) {
|
foreach ($terms as $term) {
|
||||||
$profile = Contact::getDetailsByURL($term['url']);
|
$profile = Contact::getDetailsByURL($term['url']);
|
||||||
if (($profile['contact-type'] != Contact::TYPE_COMMUNITY) &&
|
if (!empty($profile['addr']) && !empty($profile['contact-type']) && ($profile['contact-type'] != Contact::TYPE_COMMUNITY) &&
|
||||||
($profile['addr'] != $owner['addr']) && !strstr($text, $profile['addr'])) {
|
($profile['addr'] != $owner['addr']) && !strstr($text, $profile['addr'])) {
|
||||||
$text .= '@' . $profile['addr'] . ' ';
|
$text .= '@' . $profile['addr'] . ' ';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user