summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 480b268..fff5b33 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1294,7 +1294,7 @@ function captiveportal_write_db($cpdb, $locked = false, $remove = array()) {
if (!empty($remove)) {
$cpdb = captiveportal_read_db(true);
- foreach ($remove as $key => $entr)
+ foreach ($remove as $key)
unset($cpdb[$key]);
}
$fd = @fopen("{$g['vardb_path']}/captiveportal.db", "w");
OpenPOWER on IntegriCloud