Browse Source

warning -- sur l'url du marker qui est optionnelle

fix Warning: Undefined array key "url" in inc/staticmap.php on line 270
pull/34/head
b_b 7 months ago
parent
commit
7c78093a46
  1. 2
      inc/staticmap.php

2
inc/staticmap.php

@ -267,7 +267,7 @@ class staticMapGis
// set some local variables
$markerLat = $marker['lat'];
$markerLon = $marker['lon'];
$markerUrl = $marker['url'];
$markerUrl = $marker['url'] ?? '';
// clear variables from previous loops
$markerFilename = false;
$markerShadow = false;

Loading…
Cancel
Save