From ec25568c11760cb43fc01ca4eec3b6e0eafd5971 Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Tue, 17 Mar 2009 03:42:30 +0000
Subject: [PATCH] #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(+)

diff --git a/modules/block/block.module b/modules/block/block.module
index 5c6d776bdf0f..e04dca40018e 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,
   );
 
-- 
GitLab