From 9136f6e4a4c439789358581543278a0ee62c3ad4 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Thu, 21 May 2015 08:24:42 +0200 Subject: [PATCH] fix hidden form elements in addFieldMethod --- CRM/Core/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index d5e95ef433..968a198801 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1263,7 +1263,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { break; case 'hidden': - $this->add('hidden', $name, $label, $props, $required); + $this->add('hidden', $name, NULL, $props, $required); break; case 'TextArea': -- 2.25.1