From 37047d680db893694234b8d470a231d84597a25a Mon Sep 17 00:00:00 2001 From: jonathan Date: Thu, 21 May 2015 22:57:03 +0000 Subject: [PATCH] RT#34289: Flag service fields as mandatory [error msg tweak] --- FS/FS/svc_Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index c87acb9c4..355c38342 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -189,7 +189,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" } } } -- 2.11.0