aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/NotebooksController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/NotebooksController.php')
-rw-r--r--h-source/Application/Controllers/NotebooksController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php
index c663620..03fe4f4 100644
--- a/h-source/Application/Controllers/NotebooksController.php
+++ b/h-source/Application/Controllers/NotebooksController.php
@@ -45,7 +45,7 @@ class NotebooksController extends GenericController
$this->m['HardwareModel']->strongConditions['update'] = array(
"checkIsStrings|".Notebooks::vendorsList() => "vendor",
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
- "checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)]+$/" => "model|characters not allowed in the <i>model name</i> entry",
+ "checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)\[\]\/]+$/" => "model|characters not allowed in the <i>model name</i> entry",
"+checkIsStrings|".Notebooks::compatibilityList() => "compatibility",
"checkLength|99" => "model",
"+checkLength|299" => "distribution",
@@ -60,7 +60,7 @@ class NotebooksController extends GenericController
$this->m['HardwareModel']->strongConditions['insert'] = array(
"checkIsStrings|".Notebooks::vendorsList() => "vendor",
"checkNotEmpty" => "model|you have to fill the <i>model name</i> entry",
- "checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)]+$/" => "model|characters not allowed in the <i>model name</i> entry",
+ "checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\(\)\[\]\/]+$/" => "model|characters not allowed in the <i>model name</i> entry",
"+checkIsStrings|".Notebooks::compatibilityList() => "compatibility",
"checkLength|99" => "model",
"+checkLength|299" => "distribution",