summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php7
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;