From 2fec5c83429415d3a43f226429ec023f70a0d5ee Mon Sep 17 00:00:00 2001 From: CrazyHackGUT Date: Sun, 5 Feb 2017 11:34:27 +0300 Subject: [PATCH] Official micro-update 1.1.5.4 --- web_upload/includes/sb-callback.php | 4 ++++ web_upload/themes/new_box/theme.conf.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/web_upload/includes/sb-callback.php b/web_upload/includes/sb-callback.php index 5f4223ac..669cb214 100644 --- a/web_upload/includes/sb-callback.php +++ b/web_upload/includes/sb-callback.php @@ -149,6 +149,10 @@ function Plogin($username, $password, $remember, $redirect, $nopass) { global $userbank; $objResponse = new xajaxResponse(); + if (empty($password)) { + ShowBox_ajx("Информация", "Не введён пароль. Введите пароль, и повторите попытку ещё раз.", "blue", "", true, $objResponse); + return $objResponse; + } $q = $GLOBALS['db']->GetRow("SELECT `aid`, `password`, `expired` FROM `" . DB_PREFIX . "_admins` WHERE `user` = ?", array($username)); if($q) $aid = $q[0]; diff --git a/web_upload/themes/new_box/theme.conf.php b/web_upload/themes/new_box/theme.conf.php index 4f01dbbc..b814f965 100644 --- a/web_upload/themes/new_box/theme.conf.php +++ b/web_upload/themes/new_box/theme.conf.php @@ -32,7 +32,7 @@ define('theme_author', "ASTRO & XaH JoB & Vampir & SAZONISCHE & NoTiCE & CrazyHackGUT & Серый™"); // Set the version of the theme here -define('theme_version', "1.1.5.3"); +define('theme_version', "1.1.5.4"); // Set the link of the theme here define('theme_link', "https://discord.gg/BrTP9Cu");