diff options
Diffstat (limited to 'admin/updates_ext.php')
-rw-r--r-- | admin/updates_ext.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/updates_ext.php b/admin/updates_ext.php index fcbd729ca..3d1467fad 100644 --- a/admin/updates_ext.php +++ b/admin/updates_ext.php @@ -2,7 +2,9 @@ // +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
-// | Copyright(C) 2010 Pierrick LE GALL http://piwigo.org |
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
@@ -32,8 +34,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)
|