From eb31f11fd682f99bc08416dd636712a7d4e98220 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Sun, 23 Jun 2024 11:42:19 +0700 Subject: [PATCH] Bandwidth name max 255 char --- system/controllers/bandwidth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/controllers/bandwidth.php b/system/controllers/bandwidth.php index 2d490614..f7a71933 100644 --- a/system/controllers/bandwidth.php +++ b/system/controllers/bandwidth.php @@ -93,8 +93,8 @@ switch ($action) { }; } $msg = ''; - if (Validator::Length($name, 16, 4) == false) { - $msg .= 'Name should be between 5 to 15 characters' . '
'; + if (Validator::Length($name, 255, 4) == false) { + $msg .= 'Name should be between 5 to 255 characters' . '
'; } if ($rate_down_unit == 'Kbps') {