aboutsummaryrefslogtreecommitdiffstats
path: root/admin/updates_ext.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/updates_ext.php')
-rw-r--r--admin/updates_ext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/updates_ext.php b/admin/updates_ext.php
index fcbd729ca..485c94134 100644
--- a/admin/updates_ext.php
+++ b/admin/updates_ext.php
@@ -32,8 +32,8 @@ $autoupdate = new updates($page['page']);
$show_reset = false;
if (!$autoupdate->get_server_extensions())
{
- array_push($page['errors'], l10n('Can\'t connect to server.'));
- return;
+ $page['errors'][] = l10n('Can\'t connect to server.');
+ return; // TODO: remove this return and add a proper "page killer"
}
foreach ($autoupdate->types as $type)