notices fix
This commit is contained in:
+2
-2
@@ -5177,8 +5177,8 @@ function tele_check($to, $text)
|
||||
function get_meshok()
|
||||
{
|
||||
global $user;
|
||||
$d = db::c()->query('SELECT SUM(`gmeshok`) FROM `inventory` WHERE `owner` = ?i AND `setsale` = 0 AND `gmeshok` > 0', $user['id'])->fetch_assoc();
|
||||
return ($user['sila'] * 4 + $d[0]);
|
||||
$d = db::c()->query('SELECT SUM(`gmeshok`) AS `ves` FROM `inventory` WHERE `owner` = ?i AND `setsale` = 0 AND `gmeshok` > 0', $user['id'])->fetch_assoc();
|
||||
return ($user['sila'] * 4 + $d['ves']);
|
||||
}
|
||||
|
||||
function get_meshok_to($to)
|
||||
|
||||
Reference in New Issue
Block a user