Fix deprecation warnings in PHP 8.2

This commit is contained in:
Kijin Sung 2023-01-16 22:42:04 +09:00
parent f7f20a0825
commit e0a041bb3d
5 changed files with 10 additions and 7 deletions

View file

@ -498,7 +498,7 @@ class MemberModel extends Member
{
foreach($extra_vars as $key => $val)
{
if(!is_array($val) && !is_object($val) && strpos($val, '|@|') !== FALSE)
if(!is_null($val) && !is_array($val) && !is_object($val) && strpos($val, '|@|') !== FALSE)
{
$val = explode('|@|', $val);
}