missing scope

This commit is contained in:
friendica 2013-01-20 18:43:59 -08:00
parent 15150ab958
commit 59eed70246

View File

@ -44,7 +44,7 @@ function chanview_content(&$a) {
return; return;
} }
$observer = get_observer(); $observer = $a->get_observer();
$url = (($observer) $url = (($observer)
? z_root() . '/magic?f=&dest=' . $xchan['xchan_url'] . '&addr=' . $xchan['xchan_addr'] ? z_root() . '/magic?f=&dest=' . $xchan['xchan_url'] . '&addr=' . $xchan['xchan_addr']