fix host parameter in non-test mode, #39914
authorMark Wells <mark@freeside.biz>
Mon, 21 Mar 2016 23:34:39 +0000 (16:34 -0700)
committerMark Wells <mark@freeside.biz>
Mon, 21 Mar 2016 23:34:56 +0000 (16:34 -0700)
FS/FS/part_export/bandwidth_com.pm

index 7bb26e0..6c69fe3 100644 (file)
@@ -427,6 +427,7 @@ sub host {
   $self->{_host} ||= do {
     my $host = 'dashboard.bandwidth.com';
     $host = "test.$host" if $self->option('test');
   $self->{_host} ||= do {
     my $host = 'dashboard.bandwidth.com';
     $host = "test.$host" if $self->option('test');
+    $host;
   };
 }
 
   };
 }