From 6c46783c344d72bf6f96e071b9c5cb0c3836d0c5 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 1 Apr 2012 21:53:55 +0000 Subject: improved comm_year allowed values --- h-source/Application/Controllers/PrintersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/PrintersController.php') 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", -- cgit v1.2.3