Commit 750dc638 authored by anthonylindsay's avatar anthonylindsay

Pandering to testbot's ego..

parent 21761ccb
...@@ -68,13 +68,11 @@ function commerce_popular_products_get_product() { ...@@ -68,13 +68,11 @@ function commerce_popular_products_get_product() {
$query->condition( $query->condition(
'co.status', 'co.status',
array('pending', 'complete', 'checkout_complete'), array('pending', 'complete', 'checkout_complete'),
'in', 'in');
);
$query->condition( $query->condition(
'co.status', 'co.status',
array('pending', 'complete', 'checkout_complete'), array('pending', 'complete', 'checkout_complete'),
'in', 'in');
);
$product_types = array(); $product_types = array();
foreach ($products as $key => $product) { foreach ($products as $key => $product) {
$product_types[] = $product; $product_types[] = $product;
......
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