Notice: Undefined index: in_tower

This commit is contained in:
Igor Barkov (iwork) 2020-07-21 11:39:37 +03:00
parent c5f8f958d6
commit 97f04cf4e0

View File

@ -25,7 +25,7 @@ if (!empty($user['battle'])) {
}
//БС
if ($user['in_tower'] == 1) {
if ( isset($user['in_tower']) && $user['in_tower'] == 1) {
header('Location: towerin.php');
die();
}