silence some warnings

This commit is contained in:
Graham Knop 2008-09-17 15:37:51 +00:00
parent 6e5c140afe
commit b8547a918a

View file

@ -115,6 +115,7 @@ A scalar reference of HTML to be processed.
sub process {
my $session = shift;
my $content = shift;
return '' if !defined $content;
our $macrodepth ||= 0;
local $macrodepth = $macrodepth + 1;
${ $content } =~ s{$macro_re}{