diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-17 20:51:49 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-17 20:51:49 +0800 |
commit | 09e0d9b7a770484fdf425c1fc6c05c095f2722b0 (patch) | |
tree | 7085e72be1d9c50f01b2e09a8c364a3f351c3f03 | |
parent | aa6b47e1fc6298b9cc01d4e5a5247b805c40c9fe (diff) |
The order matters
Somehow I got a blank page when querying after cleanup?
No time to find out the answer why. This works.
-rw-r--r-- | config/pikul_order.tag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/pikul_order.tag b/config/pikul_order.tag index 29541a9..4996658 100644 --- a/config/pikul_order.tag +++ b/config/pikul_order.tag @@ -55,9 +55,9 @@ sub { $insurance, $subtotal ); - Pikul::cleanup(); $Tag->query({sql => "UPDATE transactions SET tracking_number='$tracking_number' WHERE \ code='$order_number'"}); + Pikul::cleanup(); return $tracking_number; } EOR |