summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
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;
}
OpenPOWER on IntegriCloud