5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:21:41 +00:00

solo puede ser multiple si admite arrays

This commit is contained in:
f 2018-06-18 18:06:10 -03:00
parent f3dca28ce0
commit 286f561442
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -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