projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c8162
)
CRM-13966 - Default value for entityRef label
author
Coleman Watts
<coleman@civicrm.org>
Mon, 3 Mar 2014 01:59:35 +0000
(20:59 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 3 Mar 2014 01:59:35 +0000
(20:59 -0500)
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index 2bedd4fc68702467ff7b59b56681356ede9cf9e4..7c069c95f39a9b4b43788e3342e5bd0d7b4e3711 100644
(file)
--- 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());