Remove redundant code
This commit is contained in:
parent
f5908d99d3
commit
ad07c3fc51
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class ConnectionHandler
|
|||
{
|
||||
setMsgLanguage($lang);
|
||||
$escaped_login = $mysqli->escape_string($login);
|
||||
$result = mysqli_query($link, $query) or die(errorMsgBlock(3006, $query, 'main', $DBName, $DBHost, $DBUserName, mysqli_error($link)));
|
||||
if ($stmt = $this->db_Connection->prepare('SELECT Password FROM user WHERE Login=\'?\' LIMIT 1')) {
|
||||
if ($stmt = mysqli_prepare('SELECT TOP 1 Password FROM user WHERE Login=\'?\'')) {
|
||||
$stmt->bind_param("s", $escaped_login);
|
||||
$stmt->execute();
|
||||
|
|
Loading…
Reference in a new issue