diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-13 21:44:06 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-13 21:44:06 -0400 |
commit | ff5cdeeec73441e300eab8db65da8c4da4631e38 (patch) | |
tree | 3d80fe3af08386c8a89c9a9d696e97fdc867147d /update.php | |
parent | 3a736398332b24806dd0161220b7f69a02dff3b0 (diff) | |
download | brdo-ff5cdeeec73441e300eab8db65da8c4da4631e38.tar.gz brdo-ff5cdeeec73441e300eab8db65da8c4da4631e38.tar.bz2 |
- Patch #834848 by Berdir: warning message regarding hook_update_last_removed() is not displayed.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/update.php b/update.php index 976e2faeb..eb8fe985e 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; |