Fix bugs burst

Fix Burst on php7
Fix edit hotspot plan
Fix burs reset if klick sync button on plan page
This commit is contained in:
gerandonk
2024-05-08 13:39:15 +07:00
parent 060718dfda
commit ee63abb618
3 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ class Radius
{
$rates = explode('/', $rate);
##burst fixed
if (str_contains($rate, ' ')) {
if (strpos($rate, ' ')) {
$ratos = $rates[0].'/'.$rates[1].' '.$rates[2].'/'.$rates[3].'/'.$rates[4].'/'.$rates[5].'/'.$rates[6];
} else {
$ratos = $rates[0].'/'.$rates[1];