Fatal error: Uncaught exception fixed
This commit is contained in:
parent
e95cc345a4
commit
7e0d704f0c
@ -2267,7 +2267,7 @@ function ref_drop()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$slot = ['sergi', 'kulon', 'weap', 'bron', 'r1', 'r2', 'r3', 'helm', 'perchi', 'shit', 'boots', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm10'];
|
$slot = ['sergi', 'kulon', 'weap', 'bron', 'r1', 'r2', 'r3', 'helm', 'perchi', 'shit', 'boots', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm10'];
|
||||||
$user = db::c()->query('SELECT ?a FROM `users` WHERE id = ?i',$slot,$_SESSION['uid'])->fetch_assoc();
|
$user = db::c()->query('SELECT ?ai FROM `users` WHERE id = ?i',$slot,$_SESSION['uid'])->fetch_assoc();
|
||||||
for ($i = 0; $i <= 20; $i++) {
|
for ($i = 0; $i <= 20; $i++) {
|
||||||
if ($user[$slot[$i]] && !derj($user[$slot[$i]])) {
|
if ($user[$slot[$i]] && !derj($user[$slot[$i]])) {
|
||||||
dropitem($i + 1);
|
dropitem($i + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user