mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #1452 misc errors in PHP 8.0
This commit is contained in:
parent
0f346d8e24
commit
1366bb72ce
4 changed files with 6 additions and 6 deletions
|
|
@ -34,9 +34,9 @@ class memberModel extends member
|
|||
}
|
||||
|
||||
// Get member configuration stored in the DB
|
||||
$config = ModuleModel::getModuleConfig('member');
|
||||
$config = ModuleModel::getModuleConfig('member') ?: new stdClass;
|
||||
|
||||
if(!$config->signupForm || !is_array($config->signupForm))
|
||||
if(!isset($config->signupForm) || !is_array($config->signupForm))
|
||||
{
|
||||
$oMemberAdminController = getAdminController('member');
|
||||
$identifier = ($config->identifier) ? $config->identifier : 'email_address';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue