diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-09 19:50:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-09 19:50:44 +0000 |
commit | c2f5ce820f75a3ecdbee70b5345daa05be2b897b (patch) | |
tree | 60648bf08dbf866d5abf91fa8830c10ab48a238c /modules/statistics/statistics.module | |
parent | a6a47a32572c3b71d0c6cf1a2918c0f9d6f8213b (diff) | |
download | brdo-c2f5ce820f75a3ecdbee70b5345daa05be2b897b.tar.gz brdo-c2f5ce820f75a3ecdbee70b5345daa05be2b897b.tar.bz2 |
- Made sure $content is initialized. Patch by James.
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r-- | modules/statistics/statistics.module | 2 |
1 files changed, 2 insertions, 0 deletions
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", "")); |