diff --git a/system/pages/account/change_comment.php b/system/pages/account/change_comment.php index 903ca49d..21221426 100644 --- a/system/pages/account/change_comment.php +++ b/system/pages/account/change_comment.php @@ -64,7 +64,7 @@ if($show_form) { $twig->display('error_box.html.twig', array('errors' => $errors)); } - if(isset($player)) { + if(isset($player) && $player->isLoaded()) { $twig->display('account.change_comment.html.twig', array( 'player' => $player ));