From d14730df359359c7185482cb01ac2b2a711a8cdd Mon Sep 17 00:00:00 2001 From: kindlm Date: Fri, 9 Jun 2017 15:30:02 +0200 Subject: [PATCH] Adresse.class: Corrected lenght-validation of plz --- include/adresse.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/adresse.class.php b/include/adresse.class.php index 02be2b966..25cc84e6a 100644 --- a/include/adresse.class.php +++ b/include/adresse.class.php @@ -248,9 +248,9 @@ class adresse extends basis_db $this->errormsg = 'Strasse darf nicht länger als 255 Zeichen sein'; return false; } - if(mb_strlen($this->plz)>10) + if(mb_strlen($this->plz)>16) { - $this->errormsg = 'Plz darf nicht länger als 10 Zeichen sein'; + $this->errormsg = 'Plz darf nicht länger als 16 Zeichen sein'; return false; } if(mb_strlen($this->ort)>255)