Remove unnecessary chat ID when saving shipping query to DB.

parent 2acfa376
...@@ -745,9 +745,9 @@ class DB ...@@ -745,9 +745,9 @@ class DB
try { try {
$sth = self::$pdo->prepare(' $sth = self::$pdo->prepare('
INSERT IGNORE INTO `' . TB_SHIPPING_QUERY . '` INSERT IGNORE INTO `' . TB_SHIPPING_QUERY . '`
(`id`, `user_id`, `chat_id`, `invoice_payload`, `shipping_address`, `created_at`) (`id`, `user_id`, `invoice_payload`, `shipping_address`, `created_at`)
VALUES VALUES
(:id, :user_id, :chat_id, :invoice_payload, :shipping_address, :created_at) (:id, :user_id, :invoice_payload, :shipping_address, :created_at)
'); ');
$date = self::getTimestamp(); $date = self::getTimestamp();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment