From df6d8940d91acfd43448936f201fa0c4eae801a0 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 27 Sep 2012 20:04:48 +0000 Subject: the model entry can now containg up to 190 characters - lammi87 issue --- h-source/Application/Models/HardwareModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Models') diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index fdfdd7b..f51333e 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -79,7 +79,7 @@ class HardwareModel extends Model_Map { "checkNotEmpty" => "model|you have to fill the model name entry", "checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the model name entry", "+checkMatch|".Hardware::$regExpressions['vendorid_productid'] => "pci_id|VendorID:ProductID has to have the following format: [a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}", - "checkLength|99" => "model", + "checkLength|190" => "model", "+checkLength|299" => "distribution", "++checkIsStrings|".Hardware::getCommYears() => "comm_year", "+++checkIsStrings|".$worksOptions => $worksField, -- cgit v1.2.3