From baed9f57338ee7bfb28f1d25372c1203a8ea6888 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 2 Mar 2014 20:59:35 -0500 Subject: [PATCH] CRM-13966 - Default value for entityRef label --- 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 2bedd4fc68..7c069c95f3 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1259,7 +1259,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * @access public * @return HTML_QuickForm_Element */ - function addEntityRef($name, $label, $props = array(), $required = FALSE) { + function addEntityRef($name, $label = '', $props = array(), $required = FALSE) { $config = CRM_Core_Config::singleton(); // Default properties $props['api'] = CRM_Utils_Array::value('api', $props, array()); -- 2.25.1