Skip to content
Snippets Groups Projects
Commit d8a7e666 authored by Ian Longden's avatar Ian Longden
Browse files

fix for Use of uninitialized value in concatenation (.) or string

parent b8341435
No related branches found
No related tags found
No related merge requests found
......@@ -1327,8 +1327,10 @@ sub fetch_all_by_exon_supporting_evidence {
throw("feature type must be dna_align_feature or protein_align_feature");
}
my $anal_from = ", analysis a " if ($analysis);
my $anal_where = "AND a.analysis_id = f.analysis_id AND a.analysis_id=? "
my $anal_from = "";
$anal_from = ", analysis a " if ($analysis);
my $anal_where = "";
$anal_where = "AND a.analysis_id = f.analysis_id AND a.analysis_id=? "
if ($analysis);
my $sql = qq(
......@@ -1391,8 +1393,10 @@ sub fetch_all_by_transcript_supporting_evidence {
throw("feature type must be dna_align_feature or protein_align_feature");
}
my $anal_from = ", analysis a " if ($analysis);
my $anal_where = "AND a.analysis_id = f.analysis_id AND a.analysis_id=? "
my $anal_from = "";
$anal_from = ", analysis a " if ($analysis);
my $anal_where = "";
$anal_from = "AND a.analysis_id = f.analysis_id AND a.analysis_id=? "
if ($analysis);
my $sql = qq(
......
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