aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Geocode')
-rw-r--r--perllib/FixMyStreet/Geocode/Zurich.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode/Zurich.pm b/perllib/FixMyStreet/Geocode/Zurich.pm
index 7ba3d27ad..84fd83fc7 100644
--- a/perllib/FixMyStreet/Geocode/Zurich.pm
+++ b/perllib/FixMyStreet/Geocode/Zurich.pm
@@ -16,7 +16,6 @@ use strict;
use Digest::MD5 qw(md5_hex);
use File::Path ();
use Geo::Coordinates::CH1903;
-use SOAP::Lite;
use Storable;
use mySociety::Locale;
@@ -33,6 +32,8 @@ sub setup_soap {
my $attr = 'http://ch/geoz/fixmyzuerich/service';
my $action = "$attr/IFixMyZuerich/";
+ require SOAP::Lite;
+
# Set up the SOAP handler
$security = SOAP::Header->name("Security")->attr({
'mustUnderstand' => 'true',