Актуальная БД для effects

This commit is contained in:
lopar
2020-07-06 22:02:04 +03:00
parent cc4732a971
commit 69b3fa5ab3
2 changed files with 8 additions and 7 deletions

View File

@@ -464,7 +464,7 @@ function show_eff_inf($u, $type)
if ($type == 1) {
$and = " AND `type` != 1022";
}
$effs = db::c()->query('SELECT * FROM `effects` WHERE `type` <> 20 AND `owner` = ?i' . $and, $u)->fetch_assoc();
$effs = db::c()->query('SELECT * FROM `users_effects` WHERE `type` <> 20 AND `owner_id` = ?i' . $and, $u)->fetch_assoc();
/* FIXME Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 132644820 bytes) in /home/combats/web/combats.loc/public_html/functions.php on line 873
* Если на человеке стоит type=20
*