mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #1798 TypeError when extra var stored as array is treated as string
This commit is contained in:
parent
cb16e7a293
commit
4a8464ad72
1 changed files with 2 additions and 2 deletions
|
|
@ -175,11 +175,11 @@ class memberView extends member
|
|||
}
|
||||
elseif($formInfo->type=='date')
|
||||
{
|
||||
$item->value = zdate($orgValue, "Y-m-d");
|
||||
$item->value = zdate(is_array($orgValue) ? array_first($orgValue) : $orgValue, 'Y-m-d');
|
||||
}
|
||||
else
|
||||
{
|
||||
$item->value = nl2br($orgValue);
|
||||
$item->value = nl2br(is_array($orgValue) ? array_first($orgValue) : $orgValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue