]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use feedEl for discovery
authorEvan Prodromou <evan@status.net>
Sat, 20 Mar 2010 14:46:22 +0000 (09:46 -0500)
committerEvan Prodromou <evan@status.net>
Sat, 20 Mar 2010 14:46:22 +0000 (09:46 -0500)
plugins/OStatus/classes/Ostatus_profile.php

index bc8d37dc6ef475dee2661c24f172e6a6dcbe02d2..efb12a2dd34fd554e8e5520c867c0a663bcee949 100644 (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) {