2011-06-21 Sergio Martin <sergio.martin@artica.es>

* lib/PandoraFMS/DataServer.pm: Fixed numeric condition in a string
	comparation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-06-21 15:19:43 +00:00
parent 96e9431f0f
commit fd1eec6a3a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed numeric condition in a string
comparation
2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Added blank space in a couple of

View File

@ -217,7 +217,7 @@ sub process_xml_data ($$$$$) {
$valid_position_data = 0;
}
if ((!defined($position_description)) && ($latitude != '')) { #FIXME: Validate the data with a regexp
if ((!defined($position_description)) && ($latitude ne '')) { #FIXME: Validate the data with a regexp
# This code gets description (Reverse Geocoding) from a current GPS coordinates using Google maps API
# This requires a connection to internet and could be very slow and have a huge impact in performance.