Forgot to wrap cast, damnit.

This commit is contained in:
Chris 2011-09-18 13:16:28 +01:00
parent bf2722129b
commit 87001315b1

View File

@ -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;
}