From: Brion Vibber Date: Fri, 11 Feb 2011 20:08:35 +0000 (-0800) Subject: woops X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7b431d60bd2d38d5fbf12e1a37678f3d25a7cc6;p=quix0rs-gnu-social.git woops --- diff --git a/plugins/OStatus/scripts/update-profile-data.php b/plugins/OStatus/scripts/update-profile-data.php index f10da71437..4f5409bfab 100644 --- a/plugins/OStatus/scripts/update-profile-data.php +++ b/plugins/OStatus/scripts/update-profile-data.php @@ -68,6 +68,7 @@ if ($response->isOk()) { echo "Updating profile from feed: $feedurl\n"; $dom = new DOMDocument(); if ($dom->loadXML($response->getBody())) { + $feed = $dom->documentElement; $entries = $dom->getElementsByTagNameNS(Activity::ATOM, 'entry'); if ($entries->length) { $entry = $entries->item(0);