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:
504cba3
)
CRM-12464 - Pseudoconstant::get - fix context/onlyActive
author
Coleman Watts
<coleman@civicrm.org>
Wed, 18 Sep 2013 21:11:12 +0000
(14:11 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Wed, 18 Sep 2013 21:11:12 +0000
(14:11 -0700)
----------------------------------------
* CRM-12464:
http://issues.civicrm.org/jira/browse/CRM-12464
CRM/Core/PseudoConstant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/PseudoConstant.php
b/CRM/Core/PseudoConstant.php
index c53b37409b92cfa460e4f3b2fedabe7a09c169c5..218b3d9debce074a9268548035183de344c1f1f6 100644
(file)
--- a/
CRM/Core/PseudoConstant.php
+++ b/
CRM/Core/PseudoConstant.php
@@
-233,7
+233,7
@@
class CRM_Core_PseudoConstant {
$params += array(
'grouping' => FALSE,
'localize' => FALSE,
- 'onlyActive' => ($context == 'validate' || $context == '
create
') ? FALSE : TRUE,
+ 'onlyActive' => ($context == 'validate' || $context == '
get
') ? FALSE : TRUE,
'fresh' => FALSE,
);