summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usertag/anteraja_cost.tag7
1 files changed, 3 insertions, 4 deletions
diff --git a/usertag/anteraja_cost.tag b/usertag/anteraja_cost.tag
index 8c840f1..ac18a86 100644
--- a/usertag/anteraja_cost.tag
+++ b/usertag/anteraja_cost.tag
@@ -4,10 +4,9 @@ sub {
my ($district, $city, $province, $weight) = @_;
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
- => 1})->[0]->[0];
+ my $origin = $Tag->query({sql => "SELECT code FROM 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 . "'",
wantarray=> 1})->[0]->[0];