mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Update update_sched.cgi
Fix for: Failed to update modules : You must enter an email address if only showing what would be updated. Usermin Configuration ->Upgrade Usermin -> Scheduled update
This commit is contained in:
@@ -30,8 +30,8 @@ if ($config{'cron_mode'} == 0) {
|
||||
$config{'upshow'} = $in{'show'};
|
||||
$config{'upmissing'} = $in{'missing'};
|
||||
$config{'upquiet'} = $in{'quiet'};
|
||||
$config{'upemail'} = $in{'email'};
|
||||
!$in{'show'} || $in{'email'} || &error($text{'update_eemail'});
|
||||
$config{'upemail'} = $in{'upemail'};
|
||||
!$in{'show'} || $in{'upemail'} || &error($text{'update_eemail'});
|
||||
&write_file("$module_config_directory/config", \%config);
|
||||
&unlock_file("$module_config_directory/config");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user