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:
faf07ee
)
Shouldn't have removed that - adding it back CRM-12339
author
Coleman Watts
<coleman@civicrm.org>
Sat, 13 Apr 2013 22:44:51 +0000
(15:44 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 14 Apr 2013 00:56:18 +0000
(17:56 -0700)
CRM/Core/Resources.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Resources.php
b/CRM/Core/Resources.php
index 5be786320e923461ef26de2fc0e83e6040ffe86a..d5c39145e9e74244ee43cb5dfbdce20d26cf863b 100644
(file)
--- a/
CRM/Core/Resources.php
+++ b/
CRM/Core/Resources.php
@@
-219,6
+219,8
@@
class CRM_Core_Resources {
* @return CRM_Core_Resources
*/
public function addSettingsFactory($callable) {
+ // Make sure our callback has been registered
+ $this->addSetting(array());
$this->settingsFactories[] = $callable;
return $this;
}