Commit f86ac931 authored by Leo Gordon's avatar Leo Gordon
Browse files

be numerically strict with the value stored in boolean field

parent 1c3d8c6b
...@@ -46,7 +46,7 @@ sub register_message { ...@@ -46,7 +46,7 @@ sub register_message {
}; };
my $sth = $self->prepare( $sql ); my $sth = $self->prepare( $sql );
$sth->execute( $msg, $is_error, $job_id ); $sth->execute( $msg, $is_error ? 1 : 0, $job_id );
$sth->finish(); $sth->finish();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment