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

= does not work. We just assigned $type to 'cisred'. eq is what was wanted

parent b64f928c
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ sub delete_existing {
$sth->execute($t);
# Delete search regions; they have a different analysis_id
if ($type = "cisred") {
if ($type eq "cisred") {
my $sr_type = $type . "_search";
die "Can't find analysis for $sr_type " unless validate_type($db_adaptor, $sr_type);
my $anal_sth = $db_adaptor->dbc->prepare("SELECT analysis_id FROM analysis WHERE LOWER(logic_name)=?");
......
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