From 87001315b1b79a00a5f2f4822db45d62ddaefe6c Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 18 Sep 2011 13:16:28 +0100 Subject: [PATCH] Forgot to wrap cast, damnit. --- Block.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block.pm b/Block.pm index 019a38c..49129ba 100644 --- a/Block.pm +++ b/Block.pm @@ -148,7 +148,7 @@ sub validate_string { $text = encode_entities($text); # Convert horrible smart quote crap from windows - foreach my $char (keys(%$self -> {"template"} ->{"entities"})) { + foreach my $char (keys(%{$self -> {"template"} ->{"entities"}})) { $text =~ s/$char/$self->{template}->{entities}->{$char}/g; }