summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index b6dc74e57..d4cf70933 100644
--- a/update.php
+++ b/update.php
@@ -256,7 +256,7 @@ function update_script_selection_form() {
$all += $pending;
}
- if (count($form) == 1 && $form['start']['system'] == array()) {
+ if (empty($all)) {
drupal_set_message(t('No pending updates.'));
unset($form);
$form['links'] = array(