Skip to content
Snippets Groups Projects
Commit dec43aab authored by Alistair Rust's avatar Alistair Rust
Browse files

Always useful to store the updated values that you actually want. . .

parent 7f349719
No related branches found
No related tags found
No related merge requests found
......@@ -1067,13 +1067,13 @@ sub update {
if ( $update ) {
$sth = $self->prepare("UPDATE gene
SET type = '$type',
analysis_id = $analysis,
display_xref_id = $dxref_id
SET type = ?,
analysis_id = ?,
display_xref_id = ?
WHERE gene_id = ?
");
$sth->execute($gene->dbID);
$sth->execute($gene->type, $gene->analysis->dbID, $gene->display_xref, $gene->dbID);
}
}
else {
......
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