Browse Source

Prevented unnecessary warning

Alois Mahdal (@azzgoat) 11 years ago
parent
commit
a09b550a55
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/SugarTrail/Template/Slave.pm

+ 1
- 1
lib/SugarTrail/Template/Slave.pm View File

@@ -40,7 +40,7 @@ sub warnings {
40 40
     foreach my $step (@{$self->{steps}}) {
41 41
         push @warnings, $_ foreach @{$step->{warnings}};
42 42
     }
43
-    my $warnings;
43
+    my $warnings = "";
44 44
     if (@warnings) {
45 45
         $warnings .= "---\n# SUGAR-TRAIL WARNINGS #\n\n";
46 46
         foreach (@warnings) {