From f7b431d60bd2d38d5fbf12e1a37678f3d25a7cc6 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 11 Feb 2011 12:08:35 -0800 Subject: [PATCH] woops --- plugins/OStatus/scripts/update-profile-data.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5