summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2014-09-29 09:31:41 (GMT)
committerAnthony Lindsay2014-09-29 09:31:41 (GMT)
commit0df9ba3051c9c690886476af1ca4903a14093e58 (patch)
tree005e0f13a1b65ddd375c3976248b7e8e3e09ed16
parent216e324dd4e9b03eb8a4fb666aacef24a6bede39 (diff)
Removed redundant default assigment from variable get.
-rw-r--r--commerce_popular_products.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/commerce_popular_products.module b/commerce_popular_products.module
index 798adf9..39dd5e4 100644
--- a/commerce_popular_products.module
+++ b/commerce_popular_products.module
@@ -147,7 +147,7 @@ function commerce_popular_products_block_view($delta = '') {
*/
function commerce_popular_products_get_content() {
$output = '';
- $number = variable_get('commerce_popular_products_number', $default = '1');
+ $number = variable_get('commerce_popular_products_number', '1');
$all_results = variable_get('commerce_popular_products_popular_products');
if ($all_results == NULL) {
$all_results = commerce_popular_products_get_product();