Commit 1a864d6a authored by Abel Ureta-Vidal's avatar Abel Ureta-Vidal
Browse files

Removed single quote around a question mark in the prepare statement....

Removed single quote around a question mark in the prepare statement. Otherwise it is not considered as an argument to be passed in the execute statement later on
parent 4307cd3a
......@@ -94,7 +94,7 @@ sub store {
#print("\nAnalysisCtrlRuleAdaptor->store()\n");
my $sth = $self->prepare( q{INSERT ignore INTO analysis_ctrl_rule
SET ctrled_analysis_id = ?, condition_analysis_url = '?' } );
SET ctrled_analysis_id = ?, condition_analysis_url = ? } );
if($sth->execute($rule->ctrled_analysis_id, $rule->condition_analysis_url)) {
$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