From bb36f6a389d74138b60a37eb25f91f6698f7db5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 7 Jul 2021 23:33:52 +0800 Subject: Quote the areas --- usertag/anteraja_cost.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usertag/anteraja_cost.tag b/usertag/anteraja_cost.tag index 0cb143b..2629923 100644 --- a/usertag/anteraja_cost.tag +++ b/usertag/anteraja_cost.tag @@ -5,8 +5,8 @@ sub { my @provisions = ( "__ANTERAJA_BASE_PATH__", "__ANTERAJA_ACCESS_KEY_ID__", "__ANTERAJA_SECRET_ACCESS_KEY__" ); my $origin = $Tag->query({sql => "SELECT code FROM \ - shipping WHERE district='". __DISTRICT__ ."' AND city='" - . __CITY__ . "' AND province='" . __PROVINCE__ . "'", wantarray + shipping WHERE district='". "__DISTRICT__" ."' AND city='" + . "__CITY__" . "' AND province='" . "__PROVINCE__" . "'", wantarray => 1})->[0]->[0]; my $destination = $Tag->query({sql => "SELECT code FROM shipping WHERE district='" . $district . "' AND city='" . $city . "' AND province='" . $province . "'", -- cgit v1.2.3