Lines 1709-1718
sub _set_message_status {
Link Here
|
1709 |
} |
1709 |
} |
1710 |
|
1710 |
|
1711 |
my $dbh = C4::Context->dbh(); |
1711 |
my $dbh = C4::Context->dbh(); |
1712 |
my $statement = 'UPDATE message_queue SET status= ?, failure_code= ? WHERE message_id = ?'; |
1712 |
my $statement = 'UPDATE message_queue SET status= ?, failure_code= ?, response_message = ? WHERE message_id = ?'; |
1713 |
my $sth = $dbh->prepare( $statement ); |
1713 |
my $sth = $dbh->prepare( $statement ); |
1714 |
my $result = $sth->execute( $params->{'status'}, |
1714 |
my $result = $sth->execute( $params->{'status'}, |
1715 |
$params->{'failure_code'} || '', |
1715 |
$params->{'failure_code'} || '', |
|
|
1716 |
$params->{'response_message'} || '', |
1716 |
$params->{'message_id'} ); |
1717 |
$params->{'message_id'} ); |
1717 |
return $result; |
1718 |
return $result; |
1718 |
} |
1719 |
} |