diff options
author | ivan <ivan> | 2011-11-11 23:20:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-11-11 23:20:47 +0000 |
commit | 6ea0319314c9ce9a250109eca712545a5df5f6a9 (patch) | |
tree | 2d783c97422fc2b0c2788dada0ea2468df104ab5 | |
parent | 4f33bd8bc517d3ee7c3f5e7006249bac8c9939a8 (diff) |
DSL status pulling, RT#13656
-rw-r--r-- | FS/FS/part_export/http_status.pm | 6 |
1 files changed, 4 insertions, 2 deletions
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 ); |