From f66ab8dae2f3d0418759f81a3a64dc9517a62449 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:17:31 +0200 Subject: Adding upstream version 1.10.2. Signed-off-by: Daniel Baumann --- .../PropertyModifierSkipDuplicates.php | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 library/Director/PropertyModifier/PropertyModifierSkipDuplicates.php (limited to 'library/Director/PropertyModifier/PropertyModifierSkipDuplicates.php') diff --git a/library/Director/PropertyModifier/PropertyModifierSkipDuplicates.php b/library/Director/PropertyModifier/PropertyModifierSkipDuplicates.php new file mode 100644 index 0000000..bf9bd31 --- /dev/null +++ b/library/Director/PropertyModifier/PropertyModifierSkipDuplicates.php @@ -0,0 +1,26 @@ +seen[$value])) { + $this->rejectRow(); + } + + $this->seen[$value] = true; + + return $value; + } +} -- cgit v1.2.3