Browse Source

Forgot a )

I'm not a PHP coder, I'm just a dummy :c
pull/93/head
Vika 5 years ago
committed by GitHub
parent
commit
1cf87906e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/XRay/Formats/Mf2.php

+ 1
- 1
lib/XRay/Formats/Mf2.php View File

@ -341,7 +341,7 @@ class Mf2 extends Format {
} }
} }
// If we have a geo property, it overrides p-latitude and p-longitude // 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['latitude'] = $mf2['geo']['latitude'][0];
$hcard['longitude'] = $mf2['geo']['longitude'][0]; $hcard['longitude'] = $mf2['geo']['longitude'][0];
} }

Loading…
Cancel
Save