[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 5dce18294d8c98e87d60b03708f6c1b642a32e5b

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  5dce18294d8c98e87d60b03708f6c1b642a32e5b (commit)
      from  07c887e7a126a150f870be25976b81a3da5ab0a1 (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 5dce18294d8c98e87d60b03708f6c1b642a32e5b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 10 08:20:53 2013 -0700

    svc_cable.providernum is optional, RT#22009

diff --git a/FS/FS/svc_cable.pm b/FS/FS/svc_cable.pm
index 4c071d6..26f4c89 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