summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/statistics.module2
-rw-r--r--modules/statistics/statistics.module2
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/statistics.module b/modules/statistics.module
index 58fd7140b..5392d7a37 100644
--- a/modules/statistics.module
+++ b/modules/statistics.module
@@ -693,6 +693,8 @@ function statistics_cron() {
/* Displays the "Top nodes" block */
function statistics_display_topnodes_block() {
+ $content = array();
+
$daytop = variable_get("statistics_block_top_day_num", "");
if ($daytop) {
$content[] = theme_invoke("theme_item_list", statistics_title_list("daycount", $daytop), variable_get("statistics_block_top_day_head", ""));
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 58fd7140b..5392d7a37 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -693,6 +693,8 @@ function statistics_cron() {
/* Displays the "Top nodes" block */
function statistics_display_topnodes_block() {
+ $content = array();
+
$daytop = variable_get("statistics_block_top_day_num", "");
if ($daytop) {
$content[] = theme_invoke("theme_item_list", statistics_title_list("daycount", $daytop), variable_get("statistics_block_top_day_head", ""));