better error message for no location_kind
[freeside.git] / FS / FS / part_export / ikano.pm
index 63b0ed3..153b4a6 100644 (file)
@@ -280,6 +280,8 @@ sub qual {
     my %location_hash = $qual->location_hash; 
     return 'No address provided' unless keys %location_hash;
 
+    return 'Location kind is required' unless $location_hash{location_kind};
+
     my $svctn = $qual->phonenum;
 
     my $result = $self->ikano_command('PREQUAL',