mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:21:41 +00:00
no fallar si el valor esta vacio
This commit is contained in:
parent
8c6af96d2f
commit
ea36a3cd9f
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class Post
|
|||
sv[subattr]
|
||||
end
|
||||
else
|
||||
tv[subattr]
|
||||
tv.try :dig, subattr
|
||||
end
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue