aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-09-22 21:19:30 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-09-22 21:19:30 +0000
commit5917a11e89ef3dcb49648c834d5402acbaea4a60 (patch)
treedb1601e7280bd1b17d678b89b1a30cfe9a665fdd /h-source/Application/Models
parent9ba61c9423648725af546dad7f8b207fd41317e5 (diff)
added the max number of characters allowed inside the description entry - rsandu issue
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r--h-source/Application/Models/HardwareModel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php
index 16d6117..fdfdd7b 100644
--- a/h-source/Application/Models/HardwareModel.php
+++ b/h-source/Application/Models/HardwareModel.php
@@ -90,7 +90,7 @@ class HardwareModel extends Model_Map {
$this->softConditions['update'] = array(
"checkMatch|".Hardware::$regExpressions['kernel'] => "kernel|characters not allowed in the <i>kernel</i> entry",
- "checkLength|20000" => "description",
+ "checkLength|40000" => "description",
"+checkLength|49" => "kernel",
"++checkLength|49" => "driver",
"++checkMatch|".Hardware::$regExpressions['driver'] => "driver|only the following characters are allowed for the <i>driver</i> entry: a-z A-Z 0-9 - _ . + s / , : ; ( ) [ ]",