Cannot register registered username
This commit is contained in:
@@ -30,7 +30,7 @@ class Access extends \Core\Model
|
||||
|
||||
if ($stmt = $db->query($sql)) {
|
||||
$result = $stmt->fetchAll(\PDO::FETCH_ASSOC);
|
||||
return true;
|
||||
return $result;
|
||||
}
|
||||
return false;
|
||||
} catch (PDOException $e) {
|
||||
|
||||
Reference in New Issue
Block a user