From 1cf87906e484b8957689bb0efca2c80f1238f57f Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 8 Sep 2019 23:34:25 +0300 Subject: [PATCH] Forgot a ) I'm not a PHP coder, I'm just a dummy :c --- lib/XRay/Formats/Mf2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }