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:
ef3b929
)
CRM-18447 Cannot create Survey when Events have 'is required' custom data
author
Ken West
<ken.west@internode.on.net>
Wed, 20 Apr 2016 11:58:06 +0000
(21:58 +1000)
committer
Ken West
<ken.west@internode.on.net>
Wed, 20 Apr 2016 11:58:06 +0000
(21:58 +1000)
CRM/Campaign/Form/Survey.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Campaign/Form/Survey.php
b/CRM/Campaign/Form/Survey.php
index d13ca39a91e818e2b08f30634380ae55795fc5c4..133b47853f672a4409213ff872ee47ccca103df1 100644
(file)
--- a/
CRM/Campaign/Form/Survey.php
+++ b/
CRM/Campaign/Form/Survey.php
@@
-80,7
+80,7
@@
class CRM_Campaign_Form_Survey extends CRM_Core_Form {
// when custom data is included in this page
if (!empty($_POST['hidden_custom'])) {
- $this->set('type', '
Event
');
+ $this->set('type', '
Survey
');
$this->set('entityId', $this->_surveyId);
CRM_Custom_Form_CustomData::preProcess($this, NULL, NULL, 1, 'Survey', $this->_surveyId);
CRM_Custom_Form_CustomData::buildQuickForm($this);