mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix member extra_var handling when value is an object
This commit is contained in:
parent
3f452a1cfe
commit
eeb74c3257
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue