Solved a small bug where false sold items were reported in the stats module.

stats_recover_cart_sales.php L112

Replace:

$query1 = tep_db_query("select c.customers_firstname, c.customers_lastname from ".TABLE_CUSTOMERS." c where c.customers_id ='".$cid."'");

With:

$query1 = tep_db_query("select c.customers_email_address, c.customers_firstname, c.customers_lastname from ".TABLE_CUSTOMERS." c where c.customers_id ='".$cid."'");


More...