fix: fixed perl errrors
This commit is contained in:
parent
4650d9945a
commit
e226f244b3
@ -75,13 +75,11 @@ sub createDSN
|
||||
|
||||
sub updateTransactionWithRecipientInfo
|
||||
{
|
||||
my $self = shift;
|
||||
my $transaction = shift
|
||||
my $sth = shift;
|
||||
my ($self, $transaction, $sth) = @_;
|
||||
|
||||
return unless $sth->rows == 1;
|
||||
|
||||
my $row = $th->fetchrow_hashref;
|
||||
my $row = $sth->fetchrow_hashref;
|
||||
my $dovecot_server = $row->{dovecot_server};
|
||||
my $username = $row->{username};
|
||||
|
||||
@ -98,7 +96,7 @@ sub updateTransactionWithRecipientInfo
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $row = $self->{fetch_dovecot_details_sth}->fetchrow_hashref();
|
||||
$row = $self->{fetch_dovecot_details_sth}->fetchrow_hashref();
|
||||
|
||||
my $hostname = $row->{hostname};
|
||||
my $port = $row->{port};
|
||||
|
Loading…
Reference in New Issue
Block a user