// For this reason the variables have to be initialized.
$a->getProfiler()->reset();
+ $a->queue = $queue;
+
$up_duration = microtime(true) - self::$up_start;
// Reset global data to avoid interferences
foreach ($terms as $term) {
$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'])) {
$text .= '@' . $profile['addr'] . ' ';
}