From 54f022b57e8bbf7d46203261877af20224e22310 Mon Sep 17 00:00:00 2001 From: MrCrankHank Date: Thu, 29 Oct 2015 22:57:39 +0100 Subject: [PATCH] Fix update check --- public/js/pages/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/pages/dashboard.js b/public/js/pages/dashboard.js index 643b131..6fb2a72 100644 --- a/public/js/pages/dashboard.js +++ b/public/js/pages/dashboard.js @@ -14,7 +14,7 @@ define(['jquery'], function ($) { if (data['version'][1].version_nr === $('#phpietadminversion').text()) { val = true; } else { - val = data['version'] + val = data['version'][1].version_nr } if (val === true) {