[freeside-commits] branch FREESIDE_3_BRANCH updated. 368a5e5e75b2072003641c1938fcb1423a9fb30c

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


The branch, FREESIDE_3_BRANCH has been updated
       via  368a5e5e75b2072003641c1938fcb1423a9fb30c (commit)
      from  e586505f2bd66d3960bde2b58069f2bdc9a9189f (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 368a5e5e75b2072003641c1938fcb1423a9fb30c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 10 08:20:50 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