From ec25568c11760cb43fc01ca4eec3b6e0eafd5971 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 17 Mar 2009 03:42:30 +0000 Subject: #401214 by Xano: Make custom block body required so it's not possible to create blocks that don't show up. --- modules/block/block.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/block/block.module b/modules/block/block.module index 5c6d776bd..e04dca400 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -386,6 +386,7 @@ function block_box_form($edit = array()) { '#text_format' => isset($edit['format']) ? $edit['format'] : FILTER_FORMAT_DEFAULT, '#rows' => 15, '#description' => t('The content of the block as shown to the user.'), + '#required' => TRUE, '#weight' => -17, ); -- cgit v1.2.3