mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: SQL optimization
This commit is contained in:
@@ -2995,7 +2995,7 @@ class MYSQLi_DB {
|
||||
}
|
||||
|
||||
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);
|
||||
return $this->mysqli_fetch_all($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user