summaryrefslogtreecommitdiff
path: root/modules/throttle/throttle.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/throttle/throttle.module')
-rw-r--r--modules/throttle/throttle.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module
index 9e98a6278..9b568961a 100644
--- a/modules/throttle/throttle.module
+++ b/modules/throttle/throttle.module
@@ -158,7 +158,7 @@ function throttle_block($op = 'list', $delta = 0) {
$blocks[0]['info'] = t('Throttle status');
return $blocks;
}
- else {
+ else if ($op == 'view') {
$block['subject'] = t('Throttle status');
$block['content'] = throttle_display_throttle_block();
return $block;