diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-11-14 05:59:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-11-14 05:59:38 +0000 |
commit | e05c6195ab1ee662807ffa71d533c7680fbd58d6 (patch) | |
tree | 3ec638df27676b04ccb551e0b6076353cb2611fc /modules | |
parent | 8d01757e5d82c2d400350447d72cf93fa1de74a0 (diff) | |
download | brdo-e05c6195ab1ee662807ffa71d533c7680fbd58d6.tar.gz brdo-e05c6195ab1ee662807ffa71d533c7680fbd58d6.tar.bz2 |
- Patch #184742 by John Morahan: fixed PHP warning.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block/block.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block/block.admin.inc b/modules/block/block.admin.inc index fcd713dcc..be886fd44 100644 --- a/modules/block/block.admin.inc +++ b/modules/block/block.admin.inc @@ -138,7 +138,7 @@ function block_admin_display_js($theme = NULL) { $throttle = module_exists('throttle'); if ($throttle) { - $block['throttle'] = $_POST[$key]['throttle']; + $block['throttle'] = !empty($_POST[$key]['throttle']); } if ($block['weight'] != $form_cache->data[$key]['weight']['#default_value'] || $block['region'] != $form_cache->data[$key]['region']['#default_value']) { |