avoid PHP notices

This commit is contained in:
Sarah Hoffmann
2012-05-25 23:45:59 +02:00
parent c433a2d739
commit a44e21de49
6 changed files with 36 additions and 25 deletions

View File

@@ -10,7 +10,7 @@
echo " timestamp='".date(DATE_RFC822)."'";
echo " attribution='Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0.'";
echo " querystring='".htmlspecialchars($sQuery, ENT_QUOTES)."'";
if ($sViewBox) echo " viewbox='".htmlspecialchars($sViewBox, ENT_QUOTES)."'";
if (isset($sViewBox)) echo " viewbox='".htmlspecialchars($sViewBox, ENT_QUOTES)."'";
echo " polygon='".($bShowPolygons?'true':'false')."'";
if (sizeof($aExcludePlaceIDs))
{