projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch priceset selector to addField method
[civicrm-core.git]
/
CRM
/
Contribute
/
Form
/
ContributionPage.php
diff --git
a/CRM/Contribute/Form/ContributionPage.php
b/CRM/Contribute/Form/ContributionPage.php
index c965e60d1ca5b127f6195d8f1e048a0bdea87bb9..f1490ee44ceefb1942d03c7d6eed51df9b2b8e00 100644
(file)
--- a/
CRM/Contribute/Form/ContributionPage.php
+++ b/
CRM/Contribute/Form/ContributionPage.php
@@
-87,6
+87,13
@@
class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
return 'Contribution';
}
+ /**
+ * Explicitly declare the form context.
+ */
+ public function getDefaultContext() {
+ return 'create';
+ }
+
/**
* Set variables up before form is built.
*/