more isset checks for PHP variables

This commit is contained in:
Sarah Hoffmann
2012-12-09 09:35:34 +01:00
parent ad89c1f0ca
commit fa1f23edfb
6 changed files with 14 additions and 12 deletions

View File

@@ -40,7 +40,7 @@
$aPlace['category'] = $aPointDetails['class'];
$aPlace['type'] = $aPointDetails['type'];
if ($aPointDetails['icon'])
if (isset($aPointDetails['icon']))
{
$aPlace['icon'] = $aPointDetails['icon'];
}