Убраны mysql_query.
This commit is contained in:
parent
bbf409b3d2
commit
c8d3bc83f8
@ -8,7 +8,7 @@ if ($p['deletInfo'] != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
$uu = \Core\Db::getRow('select * from users where login = ? order by id limit 1', [$_POST['logingo']]);
|
||||
$uu = \Core\Db::getRow('select id, login, info_delete from users where login = ? order by id limit 1', [$_POST['logingo']]);
|
||||
|
||||
if (!isset($uu['id'])) {
|
||||
$uer = 'Персонаж не найден.';
|
||||
|
@ -8,7 +8,7 @@ if ($p['m1'] != 1 && $p['citym1'] != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
$uu = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `login` = "' . mysql_real_escape_string($_POST['logingo']) . '" LIMIT 1'));
|
||||
$uu = \Core\Db::getRow('select id, login from users where login = ? order by id limit 1', [$_POST['logingo']]);
|
||||
if (!isset($uu['id'])) {
|
||||
$uer = 'Персонаж не найден в этом городе';
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user