diff --git a/lib/XRay/Formats/Mf2.php b/lib/XRay/Formats/Mf2.php index 21f81f9..b6eb661 100644 --- a/lib/XRay/Formats/Mf2.php +++ b/lib/XRay/Formats/Mf2.php @@ -341,7 +341,7 @@ class Mf2 extends Format { } } // If we have a geo property, it overrides p-latitude and p-longitude - if(array_key_exists($mf2, 'geo') && in_array('h-geo', $mf2['geo']['type']) { + if(array_key_exists($mf2, 'geo') && in_array('h-geo', $mf2['geo']['type'])) { $hcard['latitude'] = $mf2['geo']['latitude'][0]; $hcard['longitude'] = $mf2['geo']['longitude'][0]; }