projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doh!
[freeside.git]
/
FS
/
FS
/
svc_external.pm
diff --git
a/FS/FS/svc_external.pm
b/FS/FS/svc_external.pm
index
5aaee48
..
f4911aa
100644
(file)
--- a/
FS/FS/svc_external.pm
+++ b/
FS/FS/svc_external.pm
@@
-79,7
+79,9
@@
sub table { 'svc_external'; }
sub label {
my $self = shift;
my $conf = new FS::Conf;
sub label {
my $self = shift;
my $conf = new FS::Conf;
- if ( $conf->config('svc_external-display_type') eq 'artera_turbo' ) {
+ if ( $conf->exists('svc_external-display_type')
+ && $conf->config('svc_external-display_type') eq 'artera_turbo' )
+ {
sprintf('%010d', $self->id). '-'.
substr('0000000000'.uc($self->title), -10);
} else {
sprintf('%010d', $self->id). '-'.
substr('0000000000'.uc($self->title), -10);
} else {