From 02f0dce5cb344d3ce2fca62467b44eebd81dfd48 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 16 Nov 2002 14:28:22 +0000 Subject: - Fixed bug in block module: "Array" was displayed on the user information page. --- modules/block.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/block.module') diff --git a/modules/block.module b/modules/block.module index 12d42e42e..f7ec7c24b 100644 --- a/modules/block.module +++ b/modules/block.module @@ -326,12 +326,13 @@ function block_user($type, &$edit, &$user) { if (isset($form)) { return form_item(t("Block configuration"), "". $form ."
", t("Enable the blocks you would like to see displayed in the side bars.")); } + + break; case "edit_validate": if (!$edit["block"]) { $edit["block"] = array(); } return $edit; - break; } } -- cgit v1.2.3