aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-09-27 20:04:48 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-09-27 20:04:48 +0000
commitdf6d8940d91acfd43448936f201fa0c4eae801a0 (patch)
tree3401c64249cb698d2465c83c5b1855a03bf505f3 /h-source/Application/Controllers
parent5917a11e89ef3dcb49648c834d5402acbaea4a60 (diff)
the model entry can now containg up to 190 characters - lammi87 issue
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/NotebooksController.php2
-rw-r--r--h-source/Application/Controllers/PrintersController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php
index 5d70d90..4128a00 100644
--- a/h-source/Application/Controllers/NotebooksController.php
+++ b/h-source/Application/Controllers/NotebooksController.php
@@ -45,7 +45,7 @@ class NotebooksController extends GenericController
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
"checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the <i>model name</i> entry",
"+checkIsStrings|".Notebooks::compatibilityList() => "compatibility",
- "checkLength|99" => "model",
+ "checkLength|190" => "model",
"+checkLength|299" => "distribution",
"++checkIsStrings|".Hardware::getCommYears() => "comm_year",
"+++checkIsStrings|".Notebooks::$subtypeSelect => "subtype",
diff --git a/h-source/Application/Controllers/PrintersController.php b/h-source/Application/Controllers/PrintersController.php
index 018d92f..438bbba 100644
--- a/h-source/Application/Controllers/PrintersController.php
+++ b/h-source/Application/Controllers/PrintersController.php
@@ -44,7 +44,7 @@ class PrintersController extends GenericController
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
"checkMatch|".Hardware::$regExpressions['model'] => "model|characters not allowed in the <i>model name</i> entry",
"+checkMatch|".Hardware::$regExpressions['vendorid_productid'] => "pci_id|<i>VendorID:ProductID</i> 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|".Printer::compatibilityList() => "compatibility",
"++checkIsStrings|".Hardware::getCommYears() => "comm_year",