Skip to content

Commit

Permalink
Init [''system']['acb']
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeaver-netgate committed Aug 5, 2021
1 parent 3f818d8 commit 868c1a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/etc/inc/acb.inc
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ function upload_config($manual = false) {
function setup_ACB($enable, $hint, $frequency, $minute, $hours, $month, $day, $dow, $numman, $pwd) {
global $config;

init_config_arr(array('system', 'acb'));

// Randomize the minutes if not specified
if (!isset($minute) || strlen($minute) == 0 || $minute == "0") {
$minute = rand(1, 59);
Expand Down

0 comments on commit 868c1a6

Please sign in to comment.