Fix member extra_var handling when value is an object

This commit is contained in:
Kijin Sung 2018-11-20 15:31:05 +09:00
parent 3f452a1cfe
commit eeb74c3257

View file

@ -367,7 +367,7 @@ class memberModel extends member
{
foreach($extra_vars as $key => $val)
{
if(!is_array($val) && strpos($val, '|@|') !== FALSE) $val = explode('|@|', $val);
if(!is_array($val) && !is_object($val) && strpos($val, '|@|') !== FALSE) $val = explode('|@|', $val);
if(!$info->{$key}) $info->{$key} = $val;
}
}