mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixes #1999. Upgrade bvoucher config as well during CP upgrade to multi-instance
This commit is contained in:
parent
c7fc14a1b9
commit
67e73dcd06
@ -2738,5 +2738,12 @@ function upgrade_082_to_083() {
|
||||
$config['captiveportal']['cpZone'] = $tmpcp;
|
||||
$config['captiveportal']['cpZone']['zoneid'] = 8000;
|
||||
}
|
||||
if (!empty($config['voucher'])) {
|
||||
$tmpcp = $config['voucher'];
|
||||
$config['voucher'] = array();
|
||||
$config['voucher']['cpZone'] = array();
|
||||
$config['voucher']['cpZone'] = $tmpcp;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user