From fa62e89a5f3c3485757c5637b36fb37ca5c3b0cf Mon Sep 17 00:00:00 2001 From: Jimako Date: Tue, 30 Jan 2024 10:38:42 +0100 Subject: [PATCH] #5176 "ip" text box 45 characters CLOSES #5176 --- e107_handlers/form_handler.php | 2 +- e107_tests/tests/unit/e_formTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index b6ef4da119..8ea523d18b 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -6615,7 +6615,7 @@ public function renderElement($key, $value, $attributes, $required_data = array( break; case 'ip': - $ret = vartrue($parms['pre']).$this->text($key, e107::getIPHandler()->ipDecode($value), 32, $parms).vartrue($parms['post']); + $ret = vartrue($parms['pre']).$this->text($key, e107::getIPHandler()->ipDecode($value), 45, $parms).vartrue($parms['post']); break; case 'email': diff --git a/e107_tests/tests/unit/e_formTest.php b/e107_tests/tests/unit/e_formTest.php index a90fbb0bf9..685c5e935c 100644 --- a/e107_tests/tests/unit/e_formTest.php +++ b/e107_tests/tests/unit/e_formTest.php @@ -1250,7 +1250,7 @@ public function testRenderElement() 'checkboxes_001' => "
", // 'country_001' => "", - 'ip_001' => "", + 'ip_001' => "", 'templates_001' => "", 'radio_001' => " ",