From 65e5b66372bd793286cbb165a639aded3fbea5ae Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Sun, 14 Aug 2016 19:11:32 -0500 Subject: RT#38973: Bill for time worked on ticket resolution [validate queueids] --- FS/FS/part_pkg/rt_field.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS/FS/part_pkg') diff --git a/FS/FS/part_pkg/rt_field.pm b/FS/FS/part_pkg/rt_field.pm index 657a8d7..293bfa7 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, -- cgit v1.1