Skip to content
Snippets Groups Projects
Commit e5f7cd12 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Do proper quoting of $pid in fetch_all_by_Slice_and_pid().

parent c2ec40c0
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,9 @@ sub fetch_all_by_Slice_and_pid {
my $constraint;
if ( defined($pid) ) {
$constraint = "perc_ident > $pid";
$constraint = sprintf( "perc_ident > %s",
$self->dbc()->db_handle()
->quote( $pid, SQL_FLOAT ) );
}
return
......
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