Revision f1593bfe
Added by Phil Davis almost 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
1428 | 1428 |
} |
1429 | 1429 |
if (empty($item)) |
1430 | 1430 |
return; |
1431 |
if (isset($item['ID'])) |
|
1432 |
$config['cron']['item'][$item['ID']] = $item; |
|
1431 |
if (isset($itemhash['ID']))
|
|
1432 |
$config['cron']['item'][$itemhash['ID']] = $item;
|
|
1433 | 1433 |
else |
1434 | 1434 |
$config['cron']['item'][] = $item; |
1435 | 1435 |
} |
Also available in: Unified diff
Update an existing cron entry for pppoe periodic resets
The array variable name was incorrect in the test, so the existing cron entry was not being matched. Fixes #3192