mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-27 09:03:09 +03:00
Update error message
This commit is contained in:
parent
564b7dea25
commit
935156a110
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Accounts
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
if (!$query->num_rows()) {
|
if (!$query->num_rows()) {
|
||||||
throw new RuntimeException('The username was not found in the database: ' . $username);
|
throw new RuntimeException('The user was not found in the database with the provided info.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = $query->row_array();
|
$user = $query->row_array();
|
||||||
|
|
Loading…
Reference in a new issue