aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/chanview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/chanview.php b/mod/chanview.php
index d3e902f60..601df88fd 100644
--- a/mod/chanview.php
+++ b/mod/chanview.php
@@ -44,7 +44,7 @@ function chanview_content(&$a) {
return;
}
- $observer = get_observer();
+ $observer = $a->get_observer();
$url = (($observer)
? z_root() . '/magic?f=&dest=' . $xchan['xchan_url'] . '&addr=' . $xchan['xchan_addr']