X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Frt_field.pm;h=293bfa761e44979b6b2b1dc4a759e6e1bb3ba3fc;hp=657a8d72c5783ee1a2dfcd8105c7ea380ae284e4;hb=f61c9f22f0290313308df3b0a7ab20b8d7a4c90a;hpb=0586dafb71594726138cd3b7b721b9f1a0b79ae2 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,