use feedEl for discovery
This commit is contained in:
parent
515acb8513
commit
fb2b45c68a
@ -864,7 +864,7 @@ class Ostatus_profile extends Memcached_DataObject
|
|||||||
// Sheesh. Not a very nice feed! Let's try fingerpoken in the
|
// Sheesh. Not a very nice feed! Let's try fingerpoken in the
|
||||||
// entries.
|
// entries.
|
||||||
|
|
||||||
$entries = $discover->feed->getElementsByTagNameNS(Activity::ATOM, 'entry');
|
$entries = $feedEl->getElementsByTagNameNS(Activity::ATOM, 'entry');
|
||||||
|
|
||||||
if (!empty($entries) && $entries->length > 0) {
|
if (!empty($entries) && $entries->length > 0) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user