mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +02:00
Fix issue processwire/processwire-issues#1481
This commit is contained in:
@@ -155,7 +155,7 @@ class InputfieldRepeater extends Inputfield implements InputfieldItemList {
|
|||||||
|
|
||||||
if(strpos($repeaterTitle, '{') !== false) {
|
if(strpos($repeaterTitle, '{') !== false) {
|
||||||
// formatted {label}
|
// formatted {label}
|
||||||
$out = $page->getMarkup($repeaterTitle);
|
$out = $page->getText($repeaterTitle, true);
|
||||||
|
|
||||||
} else if(!$hasCnt && $this->wire()->sanitizer->fieldName($repeaterTitle) === $repeaterTitle) {
|
} else if(!$hasCnt && $this->wire()->sanitizer->fieldName($repeaterTitle) === $repeaterTitle) {
|
||||||
// just a single field name
|
// just a single field name
|
||||||
|
Reference in New Issue
Block a user