mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-01 08:07:14 +00:00
fix: undefined index
This commit is contained in:
@@ -280,7 +280,7 @@ $session = new Session;
|
|||||||
$form = new Form;
|
$form = new Form;
|
||||||
|
|
||||||
// if there is no user, we'd try to load messages for user with ID 0, which is wrong
|
// if there is no user, we'd try to load messages for user with ID 0, which is wrong
|
||||||
if ($_SESSION['id_user']) {
|
if (!empty($_SESSION['id_user'])) {
|
||||||
$message = new Message;
|
$message = new Message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user