mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 03:39:56 +09:00
Merge branch 'rhymix:master' into master
This commit is contained in:
commit
2efe733d5f
15 changed files with 67 additions and 22 deletions
|
|
@ -185,7 +185,7 @@ class BaseObject
|
|||
{
|
||||
$type = $this->get('message_type');
|
||||
$typeList = array('error' => 1, 'info' => 1, 'update' => 1);
|
||||
if(!isset($typeList[$type]))
|
||||
if (!isset($type) || !isset($typeList[$type]))
|
||||
{
|
||||
$type = $this->getError() ? 'error' : 'info';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue