diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 63c2baf1c..dbf2d90cf 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -2106,7 +2106,7 @@ if (!$@) { $date_format_time = $date_format_time; $date_format_time =~ s/(\d+):(\d+):(\d+)(.*?)/$1:$2$4/; if ($main::webmin_script_type eq 'web') { - $date_format_time =~ s/\s/ /g; + $date_format_time =~ s/\s/ /g; } return "$date_format_short $date_format_time"; }