From 5917a11e89ef3dcb49648c834d5402acbaea4a60 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 22 Sep 2012 21:19:30 +0000 Subject: added the max number of characters allowed inside the description entry - rsandu issue --- h-source/Application/Controllers/NotebooksController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/NotebooksController.php') diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index 252803c..5d70d90 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -62,7 +62,7 @@ class NotebooksController extends GenericController $this->m['HardwareModel']->softConditions['update'] = array( "checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the kernel entry", - "checkLength|20000" => "description", + "checkLength|40000" => "description", "++checkLength|99" => "video_card_type,wifi_type", "+++checkLength|49" => "kernel", "+checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/" => "video_card_type|only the following characters are allowed for the videocard entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]", -- cgit v1.2.3