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