Skip to content

Commit

Permalink
testing errors on rendering - $value -> $valewe
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesghazard committed Jul 10, 2018
1 parent 840527b commit 0a94557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vendor/cmacc-app/parser.pl
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ sub expand_fields {
my $ex = $_;
my $ox = $part ? $part . $ex : $ex;

my $value = parse($orig, $ox);
my $spanvalue = "<span title=\"" . $ox . "\" id=\"" . $ox . "\" >". $value . "</span>";
$$field =~ s/\{\Q$ex\E\}/$spanvalue/gg if $value;
my $valewe = parse($orig, $ox);
my $spanvalue = "<span title=\"" . $ox . "\" id=\"" . $ox . "\" >". $valewe . "</span>";
$$field =~ s/\{\Q$ex\E\}/$spanvalue/gg if $valewe;
}
}

Expand Down

0 comments on commit 0a94557

Please sign in to comment.