summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2012-07-02 23:04:15 (GMT)
committerAnthony Lindsay2012-07-02 23:04:15 (GMT)
commit21761ccb54bac3d6376262c607722eabbed1c1cf (patch)
tree53ca401ceef6bbe98cf138255cfe061025e3dcc8
parentb023acb8790d9c155748409c23ba1dd9e06abb06 (diff)
Trying to find missing ).
-rw-r--r--commerce_popular_products.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/commerce_popular_products.module b/commerce_popular_products.module
index 8a42de8..c93c29b 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(