[freeside-commits] branch master updated. 37047d680db893694234b8d470a231d84597a25a

Jonathan Prykop jonathan at 420.am
Thu May 21 15:57:27 PDT 2015


The branch, master has been updated
       via  37047d680db893694234b8d470a231d84597a25a (commit)
      from  ccdadadf8126cf29438328c8b75e313b6d76897d (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 37047d680db893694234b8d470a231d84597a25a
Author: jonathan <jonathan at freeside.biz>
Date:   Thu May 21 22:57:03 2015 +0000

    RT#34289: Flag service fields as mandatory [error msg tweak]

diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm
index c87acb9..355c383 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"
       }
     }
   }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_Common.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list