diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2010-12-27 21:31:00 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-12-27 21:31:00 +0000 | 
| commit | 547b27015b4173e33409cf1be1b0aea2dfa0994d (patch) | |
| tree | c50832f2e8ba382007c7352ddf2703380a5a114f /h-source/Application/Controllers/SoundcardsController.php | |
| parent | c24e925cd11f221a9a79485147ddb26b35a8153c (diff) | |
added ESI as vendor name and added @ as allowed characters for the model name for Soundcards
Diffstat (limited to 'h-source/Application/Controllers/SoundcardsController.php')
| -rw-r--r-- | h-source/Application/Controllers/SoundcardsController.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/SoundcardsController.php b/h-source/Application/Controllers/SoundcardsController.php index 9952afd..91d9039 100644 --- a/h-source/Application/Controllers/SoundcardsController.php +++ b/h-source/Application/Controllers/SoundcardsController.php @@ -45,7 +45,7 @@ class SoundcardsController extends GenericController  		$this->m['HardwareModel']->strongConditions['update'] = array(  			"checkIsStrings|".Soundcards::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",  			"checkLength|99"	=>						"model",  			"+checkLength|299"							=>	"distribution",  			"++checkIsStrings|".Wifi::$commYear	=> 	"comm_year", @@ -56,7 +56,7 @@ class SoundcardsController extends GenericController  		$this->m['HardwareModel']->strongConditions['insert'] = array(  			"checkIsStrings|".Soundcards::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",  			"checkLength|99"	=>						"model",  			"+checkLength|299"							=>	"distribution",  			"++checkIsStrings|".Wifi::$commYear	=> 	"comm_year",  | 
