RT#34289: Flag service fields as mandatory [error msg tweak]
authorjonathan <jonathan@freeside.biz>
Thu, 21 May 2015 22:57:03 +0000 (22:57 +0000)
committerjonathan <jonathan@freeside.biz>
Thu, 21 May 2015 22:57:03 +0000 (22:57 +0000)
FS/FS/svc_Common.pm

index c87acb9..355c383 100644 (file)
@@ -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"
       }
     }
   }