mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 16:23:38 +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]
|
sv[subattr]
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
tv[subattr]
|
tv.try :dig, subattr
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue