Skip to content
Snippets Groups Projects
Commit 917c52db authored by Andy Yates's avatar Andy Yates
Browse files

Changing from the || test to a ternary statement due to an error raised by EG...

Changing from the || test to a ternary statement due to an error raised by EG & the EST pipeline when migrating from v1.136 to v1.37 of this file. If this does not solve it then it must be the throw above which has caused it.
parent eecfbf24
No related branches found
No related tags found
No related merge requests found
......@@ -996,9 +996,10 @@ sub store {
->from_seconds_to_date( $transcript->modified_date() );
my $sth = $self->prepare($statement);
my $version = ($transcript->version()) ? $transcript->version() : 1;
$sth->bind_param( 1, $transc_dbID, SQL_INTEGER );
$sth->bind_param( 2, $transcript->stable_id(), SQL_VARCHAR );
$sth->bind_param( 3, ( $transcript->version() || 1 ), SQL_INTEGER );
$sth->bind_param( 3, $version, SQL_INTEGER );
$sth->execute();
$sth->finish();
} ## end if ( defined( $transcript...))
......
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