From f61c9f22f0290313308df3b0a7ab20b8d7a4c90a Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Sun, 14 Aug 2016 19:11:32 -0500 Subject: [PATCH] RT#38973: Bill for time worked on ticket resolution [validate queueids] --- FS/FS/part_pkg/rt_field.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/part_pkg/rt_field.pm b/FS/FS/part_pkg/rt_field.pm index 657a8d72c..293bfa761 100644 --- a/FS/FS/part_pkg/rt_field.pm +++ b/FS/FS/part_pkg/rt_field.pm @@ -38,6 +38,7 @@ our %info = ( 'queueids' => { 'name' => 'Queues', 'type' => 'select-rt-queue', %multiple, + 'validate' => sub { return ${$_[1]} ? '' : 'Queue must be specified' }, }, 'unit_field' => { 'name' => 'Units field', %custom_field, -- 2.11.0