From 3b2c456c1afd919aab45c79e0f5697e7471d94d4 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 5 May 2023 08:45:32 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1729 --- .../Fieldtype/FieldtypeRepeater/InputfieldRepeater.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module b/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module index 66ba6d9c..d2d4343c 100644 --- a/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module +++ b/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module @@ -155,7 +155,7 @@ class InputfieldRepeater extends Inputfield implements InputfieldItemList { } if(strpos($repeaterTitle, '#') !== false) { - $repeaterTitle = preg_replace('/#([a-f\d]{3,})/i', "$colorPrefix$1", $out); + $repeaterTitle = preg_replace('/#([a-f\d]{3,})/i', "$colorPrefix$1", $repeaterTitle); } if(strpos($repeaterTitle, '{') !== false) {