projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0586daf
)
RT#38973: Bill for time worked on ticket resolution [validate queueids]
author
Jonathan Prykop
<jonathan@freeside.biz>
Mon, 15 Aug 2016 00:11:32 +0000
(19:11 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Mon, 15 Aug 2016 00:11:32 +0000
(19:11 -0500)
FS/FS/part_pkg/rt_field.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/rt_field.pm
b/FS/FS/part_pkg/rt_field.pm
index
657a8d7
..
293bfa7
100644
(file)
--- 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,