diff options
Diffstat (limited to 'h-source/Application/Controllers/NotebooksController.php')
| -rw-r--r-- | h-source/Application/Controllers/NotebooksController.php | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index 03fe4f4..b533a4e 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -55,6 +55,7 @@ class NotebooksController extends GenericController  			"+++++checkIsStrings|".Notebooks::videoList() 	=> 	"video_card_works",  			"++++++checkIsStrings|".Notebooks::$biosSelect 	=> 	"bios",  			"+++++++checkIsStrings|".Notebooks::webcamList() 	=> 	"webcam_works", +			"++++++++checkIsStrings|".Notebooks::$architectureSelect 	=> 	"architecture",  		);  		$this->m['HardwareModel']->strongConditions['insert'] = array( @@ -70,6 +71,7 @@ class NotebooksController extends GenericController  			"+++++checkIsStrings|".Notebooks::videoList() 	=> 	"video_card_works",  			"++++++checkIsStrings|".Notebooks::$biosSelect 	=> 	"bios",  			"+++++++checkIsStrings|".Notebooks::webcamList() 	=> 	"webcam_works", +			"++++++++checkIsStrings|".Notebooks::$architectureSelect 	=> 	"architecture",  		);  		$this->m['HardwareModel']->softConditions['update'] = array( @@ -92,7 +94,7 @@ class NotebooksController extends GenericController  			"+++checkMatch|/^[a-zA-Z0-9\-\_\.\+\s\/\,\:\;\(\)\[\]]+$/"	=>	"webcam_type|only the following characters are allowed for the <i>webcam</i> entry: a-z A-Z 0-9 - _ . + / , : ; ( ) [ ]",  		); -		$this->m['HardwareModel']->setFields('vendor,model,compatibility,kernel,description,distribution,video_card_type,video_card_works,wifi_type,wifi_works,comm_year,subtype,bios,webcam_type,webcam_works','sanitizeAll');		 +		$this->m['HardwareModel']->setFields('vendor,model,compatibility,kernel,description,distribution,video_card_type,video_card_works,wifi_type,wifi_works,comm_year,subtype,bios,webcam_type,webcam_works,architecture','sanitizeAll');		  		$argKeys = array(  			'page:forceNat'					=>	1, | 
