Merge branch '2031-syslogserver-perdida-de-historico-en-cambio-de-alias-re' into 'develop'
Fixed duplicate definition $rs See merge request artica/pandorafms!1360
This commit is contained in:
commit
3e90c3421a
|
@ -267,10 +267,10 @@ sub get_agent {
|
|||
my $rs = get_agent_from_alias($dbh, $field);
|
||||
return $rs if defined($rs) && (ref($rs)); # defined and not a scalar
|
||||
|
||||
my $rs = get_agent_from_addr($dbh, $field);
|
||||
$rs = get_agent_from_addr($dbh, $field);
|
||||
return $rs if defined($rs) && (ref($rs)); # defined and not a scalar
|
||||
|
||||
my $rs = get_agent_from_name($dbh, $field);
|
||||
$rs = get_agent_from_name($dbh, $field);
|
||||
return $rs if defined($rs) && (ref($rs)); # defined and not a scalar
|
||||
|
||||
return undef;
|
||||
|
|
Loading…
Reference in New Issue