mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
parent
aba959f673
commit
0d43210c94
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class ncenterliteView extends ncenterlite
|
||||||
foreach (['web', 'mail', 'sms', 'push'] as $item)
|
foreach (['web', 'mail', 'sms', 'push'] as $item)
|
||||||
{
|
{
|
||||||
$available = isset($config->use[$notify_type][$item]) && $config->use[$notify_type][$item] !== 'N';
|
$available = isset($config->use[$notify_type][$item]) && $config->use[$notify_type][$item] !== 'N';
|
||||||
$selected = !is_array($user_config->{$notify_type} ?? []) || in_array($item, $user_config->{$notify_type});
|
$selected = !is_array($user_config->{$notify_type} ?? null) || in_array($item, $user_config->{$notify_type});
|
||||||
$user_selected[$notify_type][$item] = new stdClass();
|
$user_selected[$notify_type][$item] = new stdClass();
|
||||||
$user_selected[$notify_type][$item]->available = $available;
|
$user_selected[$notify_type][$item]->available = $available;
|
||||||
$user_selected[$notify_type][$item]->selected = $selected;
|
$user_selected[$notify_type][$item]->selected = $selected;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue