mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Fix #1537 error in centerlite module in PHP 8.0
This commit is contained in:
parent
f43ab2fb4c
commit
f05c6f8b60
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class ncenterliteAdminView extends ncenterlite
|
||||||
Context::set('config', $config);
|
Context::set('config', $config);
|
||||||
Context::set('notify_types', NcenterliteModel::getNotifyTypes());
|
Context::set('notify_types', NcenterliteModel::getNotifyTypes());
|
||||||
Context::set('sms_available', Rhymix\Framework\SMS::getDefaultDriver()->getName() !== 'Dummy');
|
Context::set('sms_available', Rhymix\Framework\SMS::getDefaultDriver()->getName() !== 'Dummy');
|
||||||
Context::set('push_available', count(Rhymix\Framework\Config::get('push.types')) > 0);
|
Context::set('push_available', count(Rhymix\Framework\Config::get('push.types') ?? []) > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function dispNcenterliteAdminSeletedmid()
|
function dispNcenterliteAdminSeletedmid()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue