[freeside-commits] branch master updated. 3bed798b18bf3a01343cd53fd3cfdf3463041bea

Mark Wells mark at 420.am
Fri Dec 14 17:58:09 PST 2012


The branch, master has been updated
       via  3bed798b18bf3a01343cd53fd3cfdf3463041bea (commit)
      from  ed6005ed23ad123899d5564671838447f7739076 (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 3bed798b18bf3a01343cd53fd3cfdf3463041bea
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Dec 13 09:07:42 2012 -0800

    better error message when export_links can't find a service

diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm
index 5206931..b608b23 100644
--- a/FS/FS/cust_svc.pm
+++ b/FS/FS/cust_svc.pm
@@ -479,7 +479,7 @@ Returns a listref of html elements associated with this service's exports.
 sub export_links {
   my $self = shift;
   my $svc_x = $self->svc_x
-    or return "can't find ". $self->part_svc->svcdb. '.svcnum '. $self->svcnum;
+    or return [ "can't find ". $self->part_svc->svcdb. '.svcnum '. $self->svcnum ];
 
   $svc_x->export_links;
 }

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

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




More information about the freeside-commits mailing list