Commit 0df9ba30 authored by anthonylindsay's avatar anthonylindsay

Removed redundant default assigment from variable get.

parent 216e324d
......@@ -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();
......
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