diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-04-01 21:53:55 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-04-01 21:53:55 +0000 |
commit | 6c46783c344d72bf6f96e071b9c5cb0c3836d0c5 (patch) | |
tree | 6f4d7230cf7f44c775bc29e4906ea568bb1df2c2 /h-source/Application/Models | |
parent | a2c4e647b694b1d1aa0cd9bca1c23549f7b6ce09 (diff) |
improved comm_year allowed values
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r-- | h-source/Application/Models/HardwareModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Models/HardwareModel.php b/h-source/Application/Models/HardwareModel.php index 7978593..16d6117 100644 --- a/h-source/Application/Models/HardwareModel.php +++ b/h-source/Application/Models/HardwareModel.php @@ -81,7 +81,7 @@ class HardwareModel extends Model_Map { "+checkMatch|".Hardware::$regExpressions['vendorid_productid'] => "pci_id|<i>VendorID:ProductID</i> has to have the following format: [a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}", "checkLength|99" => "model", "+checkLength|299" => "distribution", - "++checkIsStrings|".Wifi::$commYear => "comm_year", + "++checkIsStrings|".Hardware::getCommYears() => "comm_year", "+++checkIsStrings|".$worksOptions => $worksField, "++++checkIsStrings|".$interfaceOptions => "interface", ); |