2006-09-29 Sancho Lerena <slerena@artica.es>

* bin/pandora_db.pm: Fixed small problem when undefined vars are
	referenced (min, max, descripcion) on line 1420+. (on Raul request).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2006-09-29 08:34:38 +00:00
parent b1c36e0cdc
commit eb0bdba812
1 changed files with 3 additions and 3 deletions

View File

@ -1417,15 +1417,15 @@ sub crea_agente_modulo (%$$$$$$$) {
my $modulo_id = dame_modulo_id($pa_config, $tipo_modulo,$dbh);
my $agente_id = dame_agente_id($pa_config, $nombre_agente,$dbh);
if ($max eq ""){
if ((!defined($max) || ($max eq "")){
$max =0;
}
if ($min eq ""){
if ((!defined($min) || ($min eq "")){
$min =0;
}
if ($descripcion eq ""){
if ((!defined($descripcion) || ($descripcion eq "")){
$descripcion="N/A";
}