diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index 0c1c135b46..4b8398cacd 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'];