aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/PrintersController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-04-01 21:53:55 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-04-01 21:53:55 +0000
commit6c46783c344d72bf6f96e071b9c5cb0c3836d0c5 (patch)
tree6f4d7230cf7f44c775bc29e4906ea568bb1df2c2 /h-source/Application/Controllers/PrintersController.php
parenta2c4e647b694b1d1aa0cd9bca1c23549f7b6ce09 (diff)
improved comm_year allowed values
Diffstat (limited to 'h-source/Application/Controllers/PrintersController.php')
-rw-r--r--h-source/Application/Controllers/PrintersController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/PrintersController.php b/h-source/Application/Controllers/PrintersController.php
index 0260032..baedda8 100644
--- a/h-source/Application/Controllers/PrintersController.php
+++ b/h-source/Application/Controllers/PrintersController.php
@@ -47,7 +47,7 @@ class PrintersController extends GenericController
"checkLength|99" => "model",
"+checkLength|299" => "distribution",
"+checkIsStrings|".Printer::compatibilityList() => "compatibility",
- "++checkIsStrings|".Printer::$commYear => "comm_year",
+ "++checkIsStrings|".Hardware::getCommYears() => "comm_year",
"+++checkIsStrings|".Printer::$interface => "interface",
"++++checkIsStrings|".Printer::$subtype => "subtype",
"+++++checkIsStrings|".Printer::$trackSelect => "it_tracks_users",