Signed-off-by: Jason Stephenson <jason@sigio.com>
$location = $request->{$message}->{InitiationHeader}->{ToAgencyId}->{AgencyId};
if ($location) {
# Because Auto-Graphics. (This should be configured somehow.)
$location = $request->{$message}->{InitiationHeader}->{ToAgencyId}->{AgencyId};
if ($location) {
# Because Auto-Graphics. (This should be configured somehow.)
- $location = ~ s/^[^-]+-//;
+ $location =~ s/^[^-]+-//;
$org_unit = $self->retrieve_org_unit_by_shortname($location);
}
}
$org_unit = $self->retrieve_org_unit_by_shortname($location);
}
}