From b77705313349aed92347c92ecb668f4bcdc6dd23 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 15 Aug 2018 10:59:16 +0200 Subject: [PATCH] allow a higher amount of diskspace and traffic to be entered in the forms, fixes #560 Signed-off-by: Michael Kaufmann --- lib/formfields/admin/customer/formfield.customer_add.php | 4 ++-- lib/formfields/admin/customer/formfield.customer_edit.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/formfields/admin/customer/formfield.customer_add.php b/lib/formfields/admin/customer/formfield.customer_add.php index bba95e12..862ecb9f 100644 --- a/lib/formfields/admin/customer/formfield.customer_add.php +++ b/lib/formfields/admin/customer/formfield.customer_add.php @@ -178,7 +178,7 @@ return array( 'label' => $lng['customer']['diskspace'], 'type' => 'textul', 'value' => 0, - 'maxlength' => 6, + 'maxlength' => 16, 'mandatory' => true, 'ul_field' => $diskspace_ul ), @@ -186,7 +186,7 @@ return array( 'label' => $lng['customer']['traffic'], 'type' => 'textul', 'value' => 0, - 'maxlength' => 4, + 'maxlength' => 14, 'mandatory' => true, 'ul_field' => $traffic_ul ), diff --git a/lib/formfields/admin/customer/formfield.customer_edit.php b/lib/formfields/admin/customer/formfield.customer_edit.php index 70654183..86d8820c 100644 --- a/lib/formfields/admin/customer/formfield.customer_edit.php +++ b/lib/formfields/admin/customer/formfield.customer_edit.php @@ -170,7 +170,7 @@ return array( 'label' => $lng['customer']['diskspace'], 'type' => 'textul', 'value' => $result['diskspace'], - 'maxlength' => 6, + 'maxlength' => 16, 'mandatory' => true, 'ul_field' => $diskspace_ul ), @@ -178,7 +178,7 @@ return array( 'label' => $lng['customer']['traffic'], 'type' => 'textul', 'value' => $result['traffic'], - 'maxlength' => 4, + 'maxlength' => 14, 'mandatory' => true, 'ul_field' => $traffic_ul ),