diff --git a/lizmap/modules/lizmap/lib/Request/WMSRequest.php b/lizmap/modules/lizmap/lib/Request/WMSRequest.php index 11f1695446..23213143e7 100644 --- a/lizmap/modules/lizmap/lib/Request/WMSRequest.php +++ b/lizmap/modules/lizmap/lib/Request/WMSRequest.php @@ -798,10 +798,10 @@ protected function gfiGmlToHtml($gmldata, $configLayer) // Create HTML response $layerTitle = $configLayer->title; - $HTMLResponse = "

${layerTitle}

"; + $HTMLResponse = "

{$layerTitle}

"; foreach ($xmlFeature->children() as $key => $value) { - $HTMLResponse .= ""; + $HTMLResponse .= ""; } $HTMLResponse .= '
${key} : ${value}
{$key} : {$value}
'; @@ -967,7 +967,7 @@ protected function getMetaTileData($params, $metatileSize) $xmax = $bbox2 + $xFactor * $width + $metatileBuffer * $width / $param_width; $ymax = $bbox3 + $yFactor * $height + $metatileBuffer * $height / $param_height; // Replace request bbox by metatile bbox - $params['bbox'] = "${xmin},${ymin},${xmax},${ymax}"; + $params['bbox'] = "{$xmin},{$ymin},{$xmax},{$ymax}"; // Keep original param value $originalParams = array('width' => $param_width, 'height' => $param_height);