diff options
-rw-r--r-- | etc/inc/voucher.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index 3356a1a..c8170c8 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -51,7 +51,7 @@ function xmlrpc_sync_voucher_expire($vouchers, $syncip, $port, $password, $usern require_once('/etc/inc/captiveportal.inc'); require_once('/etc/inc/voucher.inc'); \$cpzone = $cpzone; - voucher_expire(\$vouchers); + voucher_expire($vouchers); EOF; @@ -100,7 +100,7 @@ function xmlrpc_sync_voucher_disconnect($dbent, $syncip, $port, $password, $user require_once('/etc/inc/voucher.inc'); \$cpzone = $cpzone; \$radiusservers = captiveportal_get_radius_servers(); - captiveportal_disconnect(\$dbent, \$radiusservers, \$term_cause, \$stop_time); + captiveportal_disconnect($dbent, \$radiusservers, $term_cause, $stop_time); EOF; |