diff options
author | Ermal <eri@pfsense.org> | 2014-02-21 10:00:49 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-21 10:00:49 +0000 |
commit | be1e934234148ee71f52a05a419f602a819e41bd (patch) | |
tree | 4eabe62ef9c76d188929a5b2516707405fd3ef23 /etc | |
parent | 4cdd20bcd649da887d03436baf4a6256e653b210 (diff) | |
download | pfsense-be1e934234148ee71f52a05a419f602a819e41bd.zip pfsense-be1e934234148ee71f52a05a419f602a819e41bd.tar.gz |
Fix problem with the voucher synching that was introduced during conversion to zones
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/voucher.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index a2baae9..0c1c135 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -200,7 +200,7 @@ EOF; $toreturn = XML_RPC_Decode($resp->value()); if (!is_array($config['voucher'])) $config['voucher'] = array(); - if (is_array($toreturn['voucher']) && (count($toreturn['voucher'][$cpzone]['roll']) <> count($config['voucher'][$cpzone]['roll']))) { + if (is_array($toreturn['voucher']) && (count($toreturn['voucher']['roll']) <> count($config['voucher'][$cpzone]['roll']))) { $config['voucher'][$cpzone]['roll'] = $toreturn['voucher']['roll']; write_config("Captive Portal Voucher database synchronized with {$url}"); voucher_configure_zone(true); |