mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix fatal error when dispPageNotFound() is called as a 404 handler without arguments
This commit is contained in:
parent
fda3bf939b
commit
b2738bbb39
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class PageView extends Page
|
|||
/**
|
||||
* 404 error handler
|
||||
*/
|
||||
public function dispPageNotFound($code, $message)
|
||||
public function dispPageNotFound($code = '404', $message = 'msg_not_founded')
|
||||
{
|
||||
$oMessageObject = $this instanceof PageMobile ? MessageMobile::getInstance() : MessageView::getInstance();
|
||||
$oMessageObject->setMessage($message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue