From 035e947a5a460fed15b1d25e652ed1812316ec5e Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 13 Aug 2021 14:26:31 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1134 --- wire/modules/Fieldtype/FieldtypeInteger.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Fieldtype/FieldtypeInteger.module b/wire/modules/Fieldtype/FieldtypeInteger.module index 6da7abd5..626415f7 100644 --- a/wire/modules/Fieldtype/FieldtypeInteger.module +++ b/wire/modules/Fieldtype/FieldtypeInteger.module @@ -223,7 +223,7 @@ class FieldtypeInteger extends Fieldtype { $f = $this->wire()->modules->get('InputfieldInteger'); $f->attr('name', 'defaultValue'); $f->label = $this->_('Default value'); - $f->description = $this->_('This value is assigned as the default for this field on newly created pages. It does not affect existing pages.'); + $f->description = $this->_('This value is assigned as the default for this field on pages with no value entered.'); $f->collapsed = Inputfield::collapsedBlank; $f->attr('value', strlen($field->get('defaultValue')) ? (int) $field->get('defaultValue') : ''); $inputfields->add($f);