mirror of
https://github.com/kemko/liquid.git
synced 2026-01-05 09:45:40 +03:00
Guard against state that shouldn't happen but does
This commit is contained in:
@@ -67,7 +67,7 @@ module Liquid
|
||||
all_warnings = []
|
||||
all_warnings.concat(@warnings) if @warnings
|
||||
|
||||
@children.each do |node|
|
||||
(@children || []).each do |node|
|
||||
all_warnings.concat(node.warnings || [])
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user