diff --git a/commerce_popular_products.module b/commerce_popular_products.module index 8a42de82a3634e5af912988290be4a82ea1eb60f..c93c29b752615cb2b9eb2b420f3daed7d6a45f3c 100644 --- a/commerce_popular_products.module +++ b/commerce_popular_products.module @@ -62,8 +62,7 @@ function commerce_popular_products_get_product() { $query->addExpression( 'FROM_UNIXTIME(co.changed, :M1)', 'order_time', - array(':M1' => $time_period), - ); + array(':M1' => $time_period)); $query->fields('cp', array('product_id', 'title')); $query->addExpression('SUM(cli.quantity)', 'sum'); $query->condition(