Текст ошибки указывает на место ошибки.

This commit is contained in:
Igor Barkov (iwork) 2020-07-22 12:45:10 +03:00
parent 8234c9b5f4
commit ec15c2cbcc
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class PresentsModel
try {
$this->DB = db::c()->query('SELECT sender_id, image FROM `users_presents` WHERE owner_id = ?i', $user_id);
} catch (Exception $e) {
echo "Такого пользователя не существует!";
echo "<div class='debug'>class PresentsModel: Не прогрузилась база!</div>";
}
}