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) {