mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #9722: Change voucher shortcut to point to voucher status page
This commit is contained in:
parent
d4393366bc
commit
4baf532b5b
@ -113,6 +113,13 @@ function get_shortcut_status_link($shortcut_section, $addspace = true, $service
|
||||
$link = $shortcuts[$shortcut_section]['status'];
|
||||
}
|
||||
break;
|
||||
case "captiveportal-vouchers":
|
||||
if (!empty($zone)) {
|
||||
$link = "status_captiveportal_vouchers.php?zone={$zone}";
|
||||
} else {
|
||||
$link = $shortcuts[$shortcut_section]['status'];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$link = $shortcuts[$shortcut_section]['status'];
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user