diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 43761aa77..6c5dab7ce 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -821,7 +821,7 @@ class boardView extends board } // if the document is not existed, then back to the board content page - if(!$oDocument->isExists()) + if(!$oDocument || !$oDocument->isExists()) { return $this->dispBoardContent(); }