diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-11 08:14:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-11 08:14:21 +0000 |
commit | 89cad34923e7984754c629d801420fbcea7edf63 (patch) | |
tree | a89f20211b9c508076d0d60f24130004cd04b635 /modules/statistics.module | |
parent | f3c26069ac4e8e82ce1fea5f9d8704770d08e32d (diff) | |
download | brdo-89cad34923e7984754c629d801420fbcea7edf63.tar.gz brdo-89cad34923e7984754c629d801420fbcea7edf63.tar.bz2 |
- Added missing break statements. Patch by Chris. Fixes bug 4055.
Diffstat (limited to 'modules/statistics.module')
-rw-r--r-- | modules/statistics.module | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 645e25541..f1f76a944 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -269,12 +269,15 @@ function statistics_admin() { case t("Submit \"top nodes\" block changes"): statistics_save_topnodes_block($edit); $output .= status(t("saved 'top nodes' block changes.")); + break; case t("Submit \"who's online\" block changes"): statistics_save_online_block($edit); $output .= status(t("saved 'who's online' block changes.")); + break; case t("Submit \"top nodes\" page changes"): statistics_save_userconfig($edit); $output .= status(t("saved 'top nodes' page changes.")); + break; case "top nodes page": $output .= statistics_admin_userpage_config(array( "statistics_userpage_link" => variable_get("statistics_userpage_link", ""), @@ -306,8 +309,8 @@ function statistics_admin() { "statistics_block_online_max_len" => variable_get("statistics_block_online_max_len", 15), "statistics_block_online_max_cnt" => variable_get("statistics_block_online_max_cnt", 10) )); - break; } + break; default: $output .= statistics_admin_topnodes(); } |