X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fhttp_status.pm;h=a6768409267568504edb24194354cc42847dc397;hp=679e2f1bf0fba949cb9259196890958bfb44fbb4;hb=a4202b8b4dd50b19d4cb112603be005b66b260c1;hpb=80511cb4158b98db01deec317e5408675487bc6e diff --git a/FS/FS/part_export/http_status.pm b/FS/FS/part_export/http_status.pm index 679e2f1bf..a67684092 100644 --- a/FS/FS/part_export/http_status.pm +++ b/FS/FS/part_export/http_status.pm @@ -27,12 +27,14 @@ sub rebless { shift; } sub export_getstatus { my( $self, $svc_x, $htmlref, $hashref ) = @_; - my $url = $self->option('url'); + my $url; + my $urlopt = $self->option('url'); + no strict 'vars'; { no strict 'refs'; ${$_} = $svc_x->getfield($_) foreach $svc_x->fields; - $url = eval(qq("$url")); + $url = eval(qq("$urlopt")); } my $req = HTTP::Request::Common::GET( $url );