Only process macros once per page.

This commit is contained in:
JT Smith 2003-03-02 21:15:56 +00:00
parent 0ebac2be41
commit 5f6313579f
12 changed files with 219 additions and 26 deletions

View file

@ -134,7 +134,9 @@ sub fatalError {
print '<br>'.$WebGUI::Session::session{setting}{companyURL};
} else {
print "<h1>WebGUI Fatal Error</h1>Something unexpected happened that caused this system to fault.<p>";
print "<pre>".$data."</pre>";
my $formattedData = $data;
$formattedData =~ s/\n/\<br\>/g;
print $formattedData;
}
my $log = _log();
print $log $data;