use feedEl for discovery

This commit is contained in:
Evan Prodromou 2010-03-20 09:46:22 -05:00
parent 515acb8513
commit fb2b45c68a

View File

@ -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) {