mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 15:47:16 +00:00
fix: SQL optimization
This commit is contained in:
@@ -2995,7 +2995,7 @@ class MYSQLi_DB {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getTrainingList() {
|
function getTrainingList() {
|
||||||
$q = "SELECT * FROM " . TB_PREFIX . "training where vref != ''";
|
$q = "SELECT * FROM " . TB_PREFIX . "training where vref IS NOT NULL";
|
||||||
$result = mysqli_query($this->dblink,$q);
|
$result = mysqli_query($this->dblink,$q);
|
||||||
return $this->mysqli_fetch_all($result);
|
return $this->mysqli_fetch_all($result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user