From 676aa8de0549cfb5dd108f7fdd643007c4eb767b Mon Sep 17 00:00:00 2001 From: Will Morgan Date: Wed, 24 Apr 2013 16:25:13 +0200 Subject: [PATCH] Defining $children as a public variable Defining $children as a public variable (it was previously defined on-the-fly) --- forms/ConfirmedPasswordField.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/forms/ConfirmedPasswordField.php b/forms/ConfirmedPasswordField.php index e92cb468a..de9f4ba5b 100644 --- a/forms/ConfirmedPasswordField.php +++ b/forms/ConfirmedPasswordField.php @@ -59,6 +59,13 @@ class ConfirmedPasswordField extends FormField { */ public $showOnClickTitle; + /** + * Child fields (_Password, _ConfirmPassword) + * + * @var FieldList + */ + public $children; + /** * @param string $name * @param string $title