diff options
-rw-r--r-- | config/pikul.tag | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pikul.tag b/config/pikul.tag index 398cef0..0164851 100644 --- a/config/pikul.tag +++ b/config/pikul.tag @@ -59,8 +59,8 @@ sub { $origins[$company] = $::Variable->{SICEPAT_ORIGIN} || $Global::Variable->{SICEPAT_ORIGIN}; $destinations[$company] = $Tag->query({sql => "SELECT code FROM sicepat_destination\ - WHERE district LIKE '%$district%'", - wantarray => 1})->[0]->[0] || ''; + WHERE district='$district' AND city='$city' AND \ + province='$province'", wantarray => 1})->[0]->[0] || ''; $code_prefixes[$company] = 'sicepat_'; $name_prefixes[$company] = 'SiCepat '; } |