Bandwidth name max 255 char

This commit is contained in:
Ibnu Maksum 2024-06-23 11:42:19 +07:00
parent fa5c3389f6
commit eb31f11fd6
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -93,8 +93,8 @@ switch ($action) {
};
}
$msg = '';
if (Validator::Length($name, 16, 4) == false) {
$msg .= 'Name should be between 5 to 15 characters' . '<br>';
if (Validator::Length($name, 255, 4) == false) {
$msg .= 'Name should be between 5 to 255 characters' . '<br>';
}
if ($rate_down_unit == 'Kbps') {