Merge pull request #317 from gerandonk/Development

($plan['is_radius'] == '1')
This commit is contained in:
iBNu Maksum 2024-10-11 22:53:03 +07:00 committed by GitHub
commit 70bcff7679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -271,7 +271,7 @@ switch ($action) {
if (!$plan['enabled']) {
r2(U . "home", 'e', 'Plan is not exists');
}
if ($routes['2'] == 'radius') {
if ($plan['is_radius'] == '1') {
$routes['2'] = 0;
$router_name = 'radius';
} else {