Permalink
Browse files

quiet a warning reported by Martin Roecker

  • Loading branch information...
1 parent 91c6db9 commit 3ab07427dff96e332ba1da600c3d5da9941c3405 @moritz committed Jan 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Mowyw.pm
View
@@ -505,7 +505,7 @@ sub p_readvar {
my %options = parse_hash($rest, 'readvar', $meta);
my $c = resolve_var($name, $meta);
- if (lc $options{escape} eq 'html'){
+ if (defined $options{escape} && lc $options{escape} eq 'html'){
return encode_entities($c);
}
return $c if defined $c;

0 comments on commit 3ab0742

Please sign in to comment.