From b9bcbf8c633029ff4c1cea25cefd8318e83bf368 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Fri, 13 May 2011 21:43:51 -0400 Subject: [PATCH] - Patch #834848 by Berdir: warning message regarding hook_update_last_removed() is not displayed. --- update.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update.php b/update.php index 3e41a7ceae0e..2e371710b109 100644 --- a/update.php +++ b/update.php @@ -56,9 +56,10 @@ function update_script_selection_form($form, &$form_state) { foreach ($updates as $module => $update) { if (!isset($update['start'])) { $form['start'][$module] = array( - '#title' => $module, - '#item' => $update['warning'], - '#prefix' => '<div class="warning">', + '#type' => 'item', + '#title' => $module . ' module', + '#markup' => $update['warning'], + '#prefix' => '<div class="messages warning">', '#suffix' => '</div>', ); $incompatible_updates_exist = TRUE; -- GitLab