Correct voucher config section name. Part of ticket #8079

This commit is contained in:
jim-p 2017-11-10 13:14:07 -05:00
parent bc60e0701f
commit ff25106d8e

View File

@ -350,8 +350,8 @@ if (is_array($config['hasync'])) {
if ($hasync['synchronizecaptiveportal'] != "" and is_array($config['captiveportal'])) {
$sections[] = 'captiveportal';
}
if ($hasync['synchronizecaptiveportal'] != "" and is_array($config['vouchers'])) {
$sections[] = 'vouchers';
if ($hasync['synchronizecaptiveportal'] != "" and is_array($config['voucher'])) {
$sections[] = 'voucher';
}
if (count($sections) <= 0) {