Fix + Credits + Start Language Coding

Fix Artefacts + Credits + Start Language Coding
This commit is contained in:
novgorodschi catalin
2026-05-27 12:26:24 +03:00
parent 1b119d2a35
commit 31c475e644
20 changed files with 241 additions and 181 deletions
+6 -4
View File
@@ -3021,11 +3021,13 @@ class MYSQLi_DB implements IDbConnection {
$q = "DELETE from " . TB_PREFIX . "forum_post where id = '$id'";
return mysqli_query($this->dblink,$q);
}
function getAllianceName($id, $use_cache = true) {
if (!$id) return '-';
$alliance = $this->getAlliance($id, $use_cache);
return $alliance['tag'] ?? '-';
$alliance = $this->getAlliance($id, $use_cache);
if (!is_array($alliance) || !isset($alliance['tag'])) {
return null;
}
return $alliance['tag'];
}
// no need to cache this method