mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #2187 undefined lang code in page.admin.controller.php
This commit is contained in:
parent
9b5160eb94
commit
a5e0b2c7fa
2 changed files with 1 additions and 2 deletions
|
|
@ -148,7 +148,7 @@ class BaseObject
|
|||
*/
|
||||
public function setMessage($message = 'success', $type = null)
|
||||
{
|
||||
$this->message = lang($message);
|
||||
$this->message = lang((string)$message);
|
||||
if($type !== null)
|
||||
{
|
||||
$this->setMessageType($type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue