+ my $loc_spotted = '';
+ my $loc_spotter = '';
+ my $ref = DXUser->get_current($spotted);
+ if ($ref) {
+ my $loc = $ref->qra || '';
+ $loc_spotted =substr($loc, 0, 4) if $loc;
+ }
+
+ # remove any items above the top of the max spot data
+ pop while @_ > 11;
+
+ # make sure both US states are defined
+ $_[9] ||= '';
+ $_[10] ||= '';