diff --git a/system/admin/views/updated-to.html.php b/system/admin/views/updated-to.html.php
index c11dc91..28bbbd1 100644
--- a/system/admin/views/updated-to.html.php
+++ b/system/admin/views/updated-to.html.php
@@ -1,5 +1,3 @@
-printOne();
-
-?>
\ No newline at end of file
+
Updated to
+[]
+
diff --git a/system/htmly.php b/system/htmly.php
index 77074d6..22d9a95 100644
--- a/system/htmly.php
+++ b/system/htmly.php
@@ -1226,7 +1226,7 @@ get('/admin/update/now/:csrf', function ($CSRF) {
config('views.root', 'system/admin/views');
render('updated-to', array(
'head_contents' => head_contents('Updated - ' . blog_title(), blog_description(), site_url()),
- 'updater' => $updater,
+ 'info' => $updater->getCurrentInfo(),
));
} else {
$login = site_url() . 'login';
diff --git a/system/includes/functions.php b/system/includes/functions.php
index 4099b1d..7b2933c 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -1,8 +1,5 @@
Backup';
echo 'Clear cache';
if ($updater->able()) {
- echo 'Update to ' . $updater->getName() . '';
+ $info = $updater->getNewestInfo();
+ echo 'Update to ' . $info['tag_name'] . '';
}
echo 'Logout';