From ff25106d8ecdba0aad25fbb06573fba53edad3da Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 10 Nov 2017 13:14:07 -0500 Subject: [PATCH] Correct voucher config section name. Part of ticket #8079 --- src/etc/rc.filter_synchronize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.filter_synchronize b/src/etc/rc.filter_synchronize index ff80bf45e7..32766fb976 100755 --- a/src/etc/rc.filter_synchronize +++ b/src/etc/rc.filter_synchronize @@ -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) {