[freeside-commits] branch master updated. 617a3979db7781ca065e9b07d4c59533d0cb45e2

Ivan ivan at 420.am
Thu Oct 10 08:20:50 PDT 2013


The branch, master has been updated
       via  617a3979db7781ca065e9b07d4c59533d0cb45e2 (commit)
      from  873c9d3bc75fcb16ceb87fc6bad0fe8e7cf902e8 (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 617a3979db7781ca065e9b07d4c59533d0cb45e2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 10 08:20:49 2013 -0700

    svc_cable.providernum is optional, RT#22009

diff --git a/FS/FS/svc_cable.pm b/FS/FS/svc_cable.pm
index 6575a0b..672a34d 100644
--- a/FS/FS/svc_cable.pm
+++ b/FS/FS/svc_cable.pm
@@ -142,7 +142,7 @@ sub check {
 
   my $error = 
        $self->ut_numbern('svcnum')
-    || $self->ut_foreign_key('providernum', 'cable_provider', 'providernum')
+    || $self->ut_foreign_keyn('providernum', 'cable_provider', 'providernum')
     || $self->ut_alphan('ordernum')
     || $self->ut_foreign_key('modelnum', 'cable_model', 'modelnum')
     || $self->ut_alpha('serialnum')

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

Summary of changes:
 FS/FS/svc_cable.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list