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

@@ -14,7 +14,7 @@
if (!sizeof($aPlace))
{
if ($sError)
if (isset($sError))
echo "<error>$sError</error>";
else
echo "<error>Unable to geocode</error>";