mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Fix fatal error when trying to delete a document that does not exist
This commit is contained in:
parent
4ef40aff4e
commit
49bc197acb
1 changed files with 1 additions and 1 deletions
|
|
@ -821,7 +821,7 @@ class boardView extends board
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the document is not existed, then back to the board content page
|
// if the document is not existed, then back to the board content page
|
||||||
if(!$oDocument->isExists())
|
if(!$oDocument || !$oDocument->isExists())
|
||||||
{
|
{
|
||||||
return $this->dispBoardContent();
|
return $this->dispBoardContent();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue