Fix undefined variables and properties

This commit is contained in:
Kijin Sung 2024-01-04 14:45:49 +09:00
parent 94e2d8e11a
commit 010ba87c5b
4 changed files with 7 additions and 3 deletions

View file

@ -141,7 +141,7 @@ class MemberModel extends Member
}
foreach($config->signupForm as $key => $value)
{
if($value->isDefaultForm && empty($value->isCustomTitle))
if(!empty($value->isDefaultForm) && empty($value->isCustomTitle))
{
$config->signupForm[$key]->title = lang($value->name);
}