mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-31 23:20:43 +02:00
bandwidth name max char 255
This commit is contained in:
parent
eb31f11fd6
commit
4323e2b879
1 changed files with 4 additions and 4 deletions
|
@ -93,8 +93,8 @@ switch ($action) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
$msg = '';
|
$msg = '';
|
||||||
if (Validator::Length($name, 255, 4) == false) {
|
if (Validator::Length($name, 256, 0) == false) {
|
||||||
$msg .= 'Name should be between 5 to 255 characters' . '<br>';
|
$msg .= 'Name should be between 1 to 255 characters' . '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($rate_down_unit == 'Kbps') {
|
if ($rate_down_unit == 'Kbps') {
|
||||||
|
@ -152,8 +152,8 @@ switch ($action) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
$msg = '';
|
$msg = '';
|
||||||
if (Validator::Length($name, 16, 4) == false) {
|
if (Validator::Length($name, 256, 0) == false) {
|
||||||
$msg .= 'Name should be between 5 to 15 characters' . '<br>';
|
$msg .= 'Name should be between 1 to 255 characters' . '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$id = _post('id');
|
$id = _post('id');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue