RT# 83450 - fixed rateplan export
[freeside.git] / FS / FS / part_export / dashcs_e911.pm
index a0c3a6d..2717233 100644 (file)
@@ -20,6 +20,7 @@ tie my %options, 'Tie::IxHash',
   'svc'     => 'svc_phone',
   'desc'    => 'Provision e911 services via Dash Carrier Services',
   'notes'   => 'Provision e911 services via Dash Carrier Services',
+  'no_machine' => 1,
   'options' => \%options,
 );
 
@@ -60,7 +61,7 @@ sub _export_insert {
     'location' => $location,
   };
 
-  my $error_or_ref = dash_command($opts, 'addLocation', $arg );
+  $error_or_ref = dash_command($opts, 'addLocation', $arg );
   return $error_or_ref unless ref($error_or_ref);
 
   my $id = $error_or_ref->get_Location->get_locationid;