aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/share.php')
-rw-r--r--mod/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/share.php b/mod/share.php
index 198a6b210..c9adaf094 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -69,7 +69,7 @@ function share_init(&$a) {
killme();
}
- $observer = $a->get_observer();
+ $observer = App::get_observer();
$parsed = $observer['xchan_url'];
if($parsed) {
$post_url = $parsed['scheme'] . ':' . $parsed['host'] . (($parsed['port']) ? ':' . $parsed['port'] : '')