summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-17 03:42:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-17 03:42:30 +0000
commitec25568c11760cb43fc01ca4eec3b6e0eafd5971 (patch)
treee89062575217555768e8487768ccb3cccfffaf91
parentc9fec850e9c942b13403a98a28a60a5247990682 (diff)
downloadbrdo-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.module1
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,
);