From 8db0349d43413e52d47192043f560b6b0a4e36fb Mon Sep 17 00:00:00 2001 From: Antonio Viscomi Date: Fri, 28 Jul 2023 12:26:23 +0200 Subject: [PATCH] Update WMSRequest.php --- lizmap/modules/lizmap/lib/Request/WMSRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);