]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
That never was meant to be in that if
authorStephen Paul Weber <singpolyma@singpolyma.net>
Sun, 25 Oct 2015 16:50:59 +0000 (16:50 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 12 Nov 2015 19:06:16 +0000 (19:06 +0000)
plugins/Linkback/lib/util.php

index 2f2c52bae170380888e265d302dec94e2cab09cc..8f8388a3d27dda6d501041062febc82931444353 100644 (file)
@@ -179,10 +179,10 @@ function linkback_hcard($mf2, $url) {
         // We found a match, return it immediately
         if(isset($item['properties']['url']) && in_array($url, $item['properties']['url'])) {
             return $item['properties'];
-      
-            // Let's keep all the hcards for later, to return one of them at least
-            $hcards[] = $item['properties'];
         }
+
+        // Let's keep all the hcards for later, to return one of them at least
+        $hcards[] = $item['properties'];
     }
   
     // No match immediately for the url we expected, but there were h-cards found