diff options
author | Renato Botelho <garga@pfSense.org> | 2013-09-10 05:14:28 -0700 |
---|---|---|
committer | Renato Botelho <garga@pfSense.org> | 2013-09-10 05:14:28 -0700 |
commit | 09d2bef30c1a47406585615c533542461fafc7d4 (patch) | |
tree | 2e0e141dc431be0e83c15df9ddf1a9568cf19296 | |
parent | 8d8f5e496b3a9ac816cba51def410a027b928287 (diff) | |
parent | f1593bfe1c9195f31a27d50f50422d77befed613 (diff) | |
download | pfsense-09d2bef30c1a47406585615c533542461fafc7d4.zip pfsense-09d2bef30c1a47406585615c533542461fafc7d4.tar.gz |
Merge pull request #801 from phil-davis/master
Update an existing cron entry for pppoe periodic resets
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 719093f..f206627 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1428,8 +1428,8 @@ function handle_pppoe_reset($post_array) { } if (empty($item)) return; - if (isset($item['ID'])) - $config['cron']['item'][$item['ID']] = $item; + if (isset($itemhash['ID'])) + $config['cron']['item'][$itemhash['ID']] = $item; else $config['cron']['item'][] = $item; } |