From 56621559c156d05419194ca6858a02f2cf40e854 Mon Sep 17 00:00:00 2001 From: ipf Date: Mon, 4 Jun 2018 10:58:01 +0200 Subject: [PATCH] Fix typo for variable name The variable name `choice_value` did not contain the `$`. --- reference/forms/types/options/choice_label.rst.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/options/choice_label.rst.inc b/reference/forms/types/options/choice_label.rst.inc index 1b23a4307ae..bc71a87ea5f 100644 --- a/reference/forms/types/options/choice_label.rst.inc +++ b/reference/forms/types/options/choice_label.rst.inc @@ -17,7 +17,7 @@ more control:: 'maybe' => null, ), 'choice_label' => function ($choiceValue, $key, $value) { - if ($value == choiceValue) { + if ($value == $choiceValue) { return 'Definitely!'; }