Лишние переменные в запросе (привет попизженным кускам из других игр!).
This commit is contained in:
parent
cdda80f70a
commit
41ab00a644
7
main.php
7
main.php
@ -344,11 +344,10 @@ function showpersinv($id)
|
||||
$r = db::c()->query('SELECT * FROM `inventory` WHERE
|
||||
`id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR
|
||||
`id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR
|
||||
`id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR
|
||||
`id` = ?i',
|
||||
$user['helm'], $user['weap'], $user['plaw'], $user['bron'], $user['rybax'], $user['belt'],
|
||||
`id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i',
|
||||
$user['helm'], $user['weap'], $user['plaw'], $user['bron'], $user['rybax'],
|
||||
$user['sergi'], $user['kulon'], $user['r1'], $user['r2'], $user['r3'], $user['perchi'],
|
||||
$user['shit'], $user['leg'], $user['boots'], $user['m1'], $user['m2'], $user['m3'], $user['m4'],
|
||||
$user['shit'], $user['boots'], $user['m1'], $user['m2'], $user['m3'], $user['m4'],
|
||||
$user['m5'], $user['m6'], $user['m7'], $user['m8'], $user['m9'], $user['m10']);
|
||||
while ($rec = $r->fetch_assoc()) {
|
||||
$dressed[$rec['id']] = $rec;
|
||||
|
Loading…
Reference in New Issue
Block a user