mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix error in PHP 8.0
This commit is contained in:
parent
a51ea6fbe4
commit
7e0e6bc25f
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class ncenterliteView extends ncenterlite
|
|||
Context::set('user_config', $user_config);
|
||||
Context::set('module_config', NcenterliteModel::getConfig());
|
||||
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);
|
||||
$this->setTemplateFile('userconfig');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue