mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Some little fix for html_escape
This commit is contained in:
@ -54,7 +54,7 @@ if ($in{'action'} eq $text{'action_sync'}) {
|
||||
$access{'ntp'} || &error($text{'acl_nontp'});
|
||||
$in{'timeserver'} =~ /\S/ || &error($text{'error_etimeserver'});
|
||||
$err = &sync_time($in{'timeserver'}, $in{'hardware'});
|
||||
&error(&html_escape($err)) if ($err);
|
||||
&error("<pre>".&html_escape($err)."</pre>") if ($err);
|
||||
|
||||
# Save settings in module config
|
||||
&lock_file($module_config_file);
|
||||
|
@ -52,7 +52,7 @@ else {
|
||||
}
|
||||
if ($? && $config{'ntp_only'}) {
|
||||
# error using ntp, but nothing else is allowed
|
||||
return &text('error_entp', "<tt>$out</tt>");
|
||||
return &text('error_entp', "$out");
|
||||
}
|
||||
elsif ($?) {
|
||||
# error using ntp. use timeservice
|
||||
|
Reference in New Issue
Block a user