diff options
Diffstat (limited to 'admin/updates_ext.php')
-rw-r--r-- | admin/updates_ext.php | 4 |
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)
|