summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/voucher.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index 0c1c135..4b8398c 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -204,6 +204,7 @@ EOF;
$config['voucher'][$cpzone]['roll'] = $toreturn['voucher']['roll'];
write_config("Captive Portal Voucher database synchronized with {$url}");
voucher_configure_zone(true);
+ unset($toreturn['voucher']);
}
return $toreturn['timeleft'];
OpenPOWER on IntegriCloud