]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
woops
authorBrion Vibber <brion@pobox.com>
Fri, 11 Feb 2011 20:08:35 +0000 (12:08 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 11 Feb 2011 20:08:35 +0000 (12:08 -0800)
plugins/OStatus/scripts/update-profile-data.php

index f10da71437227126aef9dc2a426c86d2fb000694..4f5409bfab9c924c6e7f452eee7de65ccc6b487f 100644 (file)
@@ -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);