summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-08-14 19:11:32 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-08-23 21:16:14 -0500
commit4788efcd9bcac700f6c94d1c83add70fc9a0c3ea (patch)
tree46be8ba23bfa22f771a03710bab2b9cafd2d5a63 /FS
parenta5a3313d158c6584d84fc09f473042028230fe00 (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.pm1
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,