buy item fix
This commit is contained in:
parent
5fb31ccc07
commit
378633b720
4
shop.php
4
shop.php
@ -46,9 +46,7 @@ if ($sellItemId && is_numeric($sellItemId)) {
|
|||||||
|
|
||||||
if (!empty($_GET['buy'])) {
|
if (!empty($_GET['buy'])) {
|
||||||
|
|
||||||
$count_ok = 1;
|
$dress = db::c()->query('SELECT * FROM `shop` WHERE `id`=?i', $_GET['buy'])->fetch_assoc();
|
||||||
|
|
||||||
$dress = db::c()->query('SELECT * FROM `shop` WHERE `id`=?i', $set)->fetch_assoc();
|
|
||||||
|
|
||||||
|
|
||||||
if (($dress['massa'] + $itemWeight['m']) > (get_meshok())) {
|
if (($dress['massa'] + $itemWeight['m']) > (get_meshok())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user