Closed (won't fix)
Project:
e-Commerce
Version:
4.6.x-1.x-dev
Component:
auction
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2005 at 01:33 UTC
Updated:
21 Sep 2006 at 23:34 UTC
This patch fixes an error coming from PHP5 about auctions.module line 210 improper arguments to implode.
Delete line 210 it's a SQL statement, that files $paid_for
Replace with the following code.
if(is_array($nids)){
$temp = implode($nids);
$paid_for = db_result(db_query('SELECT COUNT(t.txnid) FROM {ec_transaction_product} tp, {ec_transaction} t WHERE t.payment_status = %d AND t.txnid = tp.txnid AND t.uid = %d AND nid IN (%s)', payment_get_status_id('completed'), $user->uid, $temp));
}else{
$paid_for = NULL;
}
Comments
Comment #1
simeWe are not really supporting 4.6 now. Please re-open this issue again if there is any problem.