diff --git a/system/pages/account/change_comment.php b/system/pages/account/change_comment.php index 55519ced..f5b8f733 100644 --- a/system/pages/account/change_comment.php +++ b/system/pages/account/change_comment.php @@ -57,7 +57,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 ));