From 306cf5daae5899fbf0bbffca28799ba6ec40d593 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 21 Dec 2009 13:02:25 +0000 Subject: [PATCH] Increased Phonenumber digit limit too 20 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14918 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index 361eed980..fc131d19b 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -1207,8 +1207,8 @@ class phoneAccount extends plugin /* Add phone number */ if (isset($_POST["add_phonenumber"]) && $_POST['phonenumber']){ - if(strlen(trim($_POST["phonenumber"])) > 5 ){ - msg_dialog::display(_("Error"), msgPool::toobig("Phone number",99999), ERROR_DIALOG); + if(strlen(trim($_POST["phonenumber"])) > 20 ){ + msg_dialog::display(_("Error"), msgPool::toobig("Phone number"), ERROR_DIALOG); }elseif (tests::is_phone_nr($_POST['phonenumber'])){ $number= trim($_POST["phonenumber"]); $this->phoneNumbers[$number]= $number; -- 2.30.2