mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix minor issues with backward compatibility
This commit is contained in:
parent
0a4216fa3f
commit
a6d9f84147
2 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ class Value
|
|||
}
|
||||
elseif ($this->default)
|
||||
{
|
||||
return explode(',', $this->default);
|
||||
return is_array($this->default) ? $this->default : explode(',', $this->default);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<input type="file" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="file rx_ev_file"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
accept="{{ $allowed_filetypes }}"|if="$allowed_filetypes !== '' && $allowed_filetypes !== '*'"
|
||||
accept="{{ $allowed_filetypes }}"|if="$allowed_filetypes !== '' && $allowed_filetypes !== '.*'"
|
||||
data-allowed-filesize="{{ $allowed_filesize }}"
|
||||
data-msg-filesize="{{ lang('file.msg_exceeds_limit_size') }}"
|
||||
@required(toBool($definition->is_required) && !$value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue