Fix de-htmling
authorJamie Cameron <jcameron@webmin.com>
Sun, 5 Jul 2009 06:37:00 +0000 (06:37 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 5 Jul 2009 06:37:00 +0000 (06:37 +0000)
web-lib-funcs.pl

index 6e4e7af..644903c 100755 (executable)
@@ -1299,7 +1299,7 @@ by the message setup using that function.
 sub error
 {
 my $msg = join("", @_);
-$msg =~ s/<[^>]*>//;
+$msg =~ s/<[^>]*>//g;
 if (!$main::error_must_die) {
        print STDERR "Error: ",$msg,"\n";
        }