[freeside-commits] branch master updated. f61c9f22f0290313308df3b0a7ab20b8d7a4c90a
Jonathan Prykop
jonathan at 420.am
Sun Aug 14 17:12:07 PDT 2016
The branch, master has been updated
via f61c9f22f0290313308df3b0a7ab20b8d7a4c90a (commit)
from 0586dafb71594726138cd3b7b721b9f1a0b79ae2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f61c9f22f0290313308df3b0a7ab20b8d7a4c90a
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Sun Aug 14 19:11:32 2016 -0500
RT#38973: Bill for time worked on ticket resolution [validate queueids]
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,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg/rt_field.pm | 1 +
1 file changed, 1 insertion(+)
More information about the freeside-commits
mailing list