aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 0436673ea..313324a16 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -208,7 +208,7 @@ function diaspora_decode($importer,$xml) {
if($children->header) {
$public = true;
- $author_link = str_replace('acct:','',$children->author_id);
+ $author_link = str_replace('acct:','',$children->header->author_id);
}
else {