mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user