Текст ошибки указывает на место ошибки.
This commit is contained in:
parent
8234c9b5f4
commit
ec15c2cbcc
@ -15,7 +15,7 @@ class PresentsModel
|
|||||||
try {
|
try {
|
||||||
$this->DB = db::c()->query('SELECT sender_id, image FROM `users_presents` WHERE owner_id = ?i', $user_id);
|
$this->DB = db::c()->query('SELECT sender_id, image FROM `users_presents` WHERE owner_id = ?i', $user_id);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
echo "Такого пользователя не существует!";
|
echo "<div class='debug'>class PresentsModel: Не прогрузилась база!</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user