projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb7f320
)
RT#34289: Flag service fields as mandatory [error msg tweak]
author
jonathan
<jonathan@freeside.biz>
Thu, 21 May 2015 22:57:03 +0000
(22:57 +0000)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Thu, 21 May 2015 23:01:05 +0000
(18:01 -0500)
FS/FS/svc_Common.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_Common.pm
b/FS/FS/svc_Common.pm
index
9853d5b
..
d70209a
100644
(file)
--- a/
FS/FS/svc_Common.pm
+++ b/
FS/FS/svc_Common.pm
@@
-192,7
+192,7
@@
sub check {
foreach my $field (keys %$required) {
unless (length($self->get($field)) > 0) {
my $name = $labels->{$field} || $field;
- return "
Field
$name is required\n"
+ return "$name is required\n"
}
}
}