mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-30 22:59:28 +02:00
Update services.php
Fixed Error connecting to RouterOS when updating hotspot plan from admin panel> services> Hotspot plan, edit plan
This commit is contained in:
parent
80c76cd6dc
commit
d241b2cec6
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ switch ($action) {
|
||||||
$validity_unit = _post('validity_unit');
|
$validity_unit = _post('validity_unit');
|
||||||
$pool_expired = _post('pool_expired');
|
$pool_expired = _post('pool_expired');
|
||||||
$enabled = _post('enabled');
|
$enabled = _post('enabled');
|
||||||
|
$routers = _post('routers');
|
||||||
$msg = '';
|
$msg = '';
|
||||||
if (Validator::UnsignedNumber($validity) == false) {
|
if (Validator::UnsignedNumber($validity) == false) {
|
||||||
$msg .= 'The validity must be a number' . '<br>';
|
$msg .= 'The validity must be a number' . '<br>';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue