check logged Character for NULL
This commit is contained in:
parent
5f2b252c1e
commit
6833d48544
2 changed files with 6 additions and 0 deletions
|
|
@ -145,6 +145,9 @@
|
|||
|
||||
// Get Character
|
||||
$character = self::$character;
|
||||
if(is_null($character)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get unachieved Achievments
|
||||
$achievements = array_merge(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue