solo puede ser multiple si admite arrays
This commit is contained in:
parent
f3dca28ce0
commit
286f561442
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Post
|
|||
# si la plantilla es simple, es multiple cuando tenemos un array
|
||||
return array? if simple?
|
||||
|
||||
contents.fetch('multiple', true)
|
||||
array? && contents.fetch('multiple', true)
|
||||
end
|
||||
|
||||
# Detecta si el valor es una tabla de campos
|
||||
|
|
Loading…
Reference in a new issue