diff --git a/cp/app/Controllers/SystemController.php b/cp/app/Controllers/SystemController.php index 57ac825..ef1e2e7 100644 --- a/cp/app/Controllers/SystemController.php +++ b/cp/app/Controllers/SystemController.php @@ -246,7 +246,7 @@ class SystemController extends Controller } $validators = [ - 'extension' => v::stringType()->notEmpty()->length(1, 64), + 'extension' => v::stringType()->notEmpty()->length(2, 64), 'script' => v::stringType()->notEmpty(), 'createm0' => v::numericVal()->between(0.00, 9999999.99, true), 'createm12' => v::numericVal()->between(0.00, 9999999.99, true), @@ -553,7 +553,7 @@ class SystemController extends Controller } $validators = [ - 'extension' => v::stringType()->notEmpty()->length(1, 64), + 'extension' => v::stringType()->notEmpty()->length(2, 64), 'createm0' => v::numericVal()->between(0.00, 9999999.99, true), 'createm12' => v::numericVal()->between(0.00, 9999999.99, true), 'createm24' => v::numericVal()->between(0.00, 9999999.99, true), diff --git a/cp/resources/views/admin/dashboard/index.twig b/cp/resources/views/admin/dashboard/index.twig index 9008dc3..dfca0f6 100644 --- a/cp/resources/views/admin/dashboard/index.twig +++ b/cp/resources/views/admin/dashboard/index.twig @@ -211,7 +211,7 @@ {% if tickets|length > 0 %} {% for ticket in tickets %}