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

@@ -3,7 +3,7 @@
if (!sizeof($aPlace))
{
if ($sError)
if (isset($sError))
$aFilteredPlaces['error'] = $sError;
else
$aFilteredPlaces['error'] = 'Unable to geocode';