Minor changes using boolean statements

This commit is contained in:
Vladyslav
2018-06-21 00:54:41 +03:00
parent c1eb10b19b
commit 6ef38c50cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class Alliance {
// Log the notice
$database->insertAlliNotice($session->alliance, '<a href="spieler.php?uid=' . $session->uid . '">' . addslashes($session->username) . '</a> has invited <a href="spieler.php?uid=' . $UserData['id'] . '">' . addslashes($UserData['username']) . '</a> 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'],
+1 -1
View File
@@ -154,7 +154,7 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
</tbody>
</table>
<?php
if(NEW_FUNCTIONS_OASIS == false) {
if(!NEW_FUNCTIONS_OASIS) {
echo "<table cellpadding=\"1\" cellspacing=\"1\" id=\"villages\">
<thead>
<tr>