projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed6005e
)
better error message when export_links can't find a service
author
Mark Wells
<mark@freeside.biz>
Thu, 13 Dec 2012 17:07:42 +0000
(09:07 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 13 Dec 2012 17:09:48 +0000
(09:09 -0800)
FS/FS/cust_svc.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_svc.pm
b/FS/FS/cust_svc.pm
index
5206931
..
b608b23
100644
(file)
--- 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;
}