diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-17 03:42:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-17 03:42:30 +0000 |
commit | ec25568c11760cb43fc01ca4eec3b6e0eafd5971 (patch) | |
tree | e89062575217555768e8487768ccb3cccfffaf91 | |
parent | c9fec850e9c942b13403a98a28a60a5247990682 (diff) | |
download | brdo-ec25568c11760cb43fc01ca4eec3b6e0eafd5971.tar.gz brdo-ec25568c11760cb43fc01ca4eec3b6e0eafd5971.tar.bz2 |
#401214 by Xano: Make custom block body required so it's not possible to create blocks that don't show up.
-rw-r--r-- | modules/block/block.module | 1 |
1 files changed, 1 insertions, 0 deletions
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, ); |