From: Evan Prodromou Date: Sat, 20 Mar 2010 14:46:22 +0000 (-0500) Subject: use feedEl for discovery X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb2b45c68abbf48dcdfea330163d17ec56f479bc;p=quix0rs-gnu-social.git use feedEl for discovery --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index bc8d37dc6e..efb12a2dd3 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -864,7 +864,7 @@ class Ostatus_profile extends Memcached_DataObject // Sheesh. Not a very nice feed! Let's try fingerpoken in the // entries. - $entries = $discover->feed->getElementsByTagNameNS(Activity::ATOM, 'entry'); + $entries = $feedEl->getElementsByTagNameNS(Activity::ATOM, 'entry'); if (!empty($entries) && $entries->length > 0) {