summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/pikul.tag4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pikul.tag b/config/pikul.tag
index 336d6ef..5f49ff0 100644
--- a/config/pikul.tag
+++ b/config/pikul.tag
@@ -57,8 +57,8 @@ sub {
$origins[$company] = $::Variable->{SICEPAT_ORIGIN}
|| $Global::Variable->{SICEPAT_ORIGIN};
$destinations[$company] = $Tag->query({sql => "SELECT code FROM sicepat_destination\
- WHERE district='$district' AND city='$city' AND \
- province='$province'", wantarray => 1})->[0]->[0] || '';
+ WHERE district LIKE '%$district%'",
+ wantarray => 1})->[0]->[0] || '';
$code_prefixes[$company] = 'sicepat_';
$name_prefixes[$company] = 'SiCepat ';
}