From f2d7b64a197fa3e6810a9d536ca60669df2bf14c Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 25 Apr 2018 01:52:56 +0300 Subject: [PATCH] tests --- functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/functions.php b/functions.php index 0e8e499..441eda3 100644 --- a/functions.php +++ b/functions.php @@ -4098,11 +4098,8 @@ function dropitem($slot) case 26: $slot1 = 'rune_3'; break; - } { - - if (mysql_query("UPDATE `users` as u, `inventory` as i SET u.{$slot1} = 0, i.dressed = 0, u.sila = u.sila - i.gsila, u.lovk = u.lovk - i.glovk, @@ -4204,8 +4201,6 @@ function dropitem($slot) //echo ("Сняли ".$set_id); }; }; - - return true; } }