From 7088a2a53904dc8bf3b84dcb374575bb36f22f8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 20 Oct 2011 15:27:51 +0200 Subject: [PATCH] Fixes sql error in payment listing. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/payment.php b/modules/payment.php index 6f4ed7f..4a28ef3 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -452,7 +452,7 @@ class PaymentModule extends PLModule $trans = array(); $event = array(); if (may_update()) { - static $orders = array('timestamp' => 'p', 'directory_name' => 'a', 'promo' => 'pd', 'comment' => 'p', 'amount' => 'p'); + static $orders = array('ts_confirmed' => 'p', 'directory_name' => 'a', 'promo' => 'pd', 'comment' => 'p', 'amount' => 'p'); if (Get::has('order_id') && Get::has('order') && array_key_exists(Get::v('order'), $orders)) { $order_id = Get::i('order_id'); -- 2.1.4