diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-14 19:11:32 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-14 19:18:09 -0500 |
commit | 65e5b66372bd793286cbb165a639aded3fbea5ae (patch) | |
tree | d1a8a39a09bd79dc30edc17f1034d667c6459509 /FS | |
parent | 4ec2818fa42bf6b3ed00f6888c744456855ec0f1 (diff) |
RT#38973: Bill for time worked on ticket resolution [validate queueids]
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_pkg/rt_field.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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, |