mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 15:42:32 -05:00
fix cycle safe
This commit is contained in:
1 parent
fef203daed
commit
b8cf525034
1 file changed
+2
@@ -112,6 +112,8 @@ module HexaPDF
|
|||||||
end
|
end
|
||||||
|
|
||||||
module CycleSafeInheritedValue
|
module CycleSafeInheritedValue
|
||||||
|
using HexaPDF::Type::AcroForm::Field::HashRefinement
|
||||||
|
|
||||||
def inherited_value(field, name)
|
def inherited_value(field, name)
|
||||||
seen = Set.new.compare_by_identity
|
seen = Set.new.compare_by_identity
|
||||||
seen << field.value
|
seen << field.value
|
||||||
|
|||||||
Reference in new issue
Block a user