Commit e05c6195 authored by Dries's avatar Dries

- Patch #184742 by John Morahan: fixed PHP warning.

parent 8d01757e
......@@ -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']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment