From 6ef38c50cb5b7d6a392757e58439ee325b5b577e Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Thu, 21 Jun 2018 00:54:41 +0300 Subject: [PATCH] Minor changes using boolean statements --- GameEngine/Alliance.php | 2 +- Templates/Profile/overview.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GameEngine/Alliance.php b/GameEngine/Alliance.php index 513c3dd4..02d493f0 100755 --- a/GameEngine/Alliance.php +++ b/GameEngine/Alliance.php @@ -245,7 +245,7 @@ class Alliance { // Log the notice $database->insertAlliNotice($session->alliance, '' . addslashes($session->username) . ' has invited ' . addslashes($UserData['username']) . ' into the alliance.'); // send invitation via in-game messages - if(NEW_FUNCTIONS_ALLIANCE_INVITATION == false) return; + if(!NEW_FUNCTIONS_ALLIANCE_INVITATION) return; else { $database->sendMessage( $UserData['id'], diff --git a/Templates/Profile/overview.tpl b/Templates/Profile/overview.tpl index a3317df5..57313c58 100644 --- a/Templates/Profile/overview.tpl +++ b/Templates/Profile/overview.tpl @@ -154,7 +154,7 @@ if($displayarray['vac_mode'] == 1) echo "