From d937dbcdfd0913bc2a215c389ac129f8fd5c3a1d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 13 Apr 2013 15:44:51 -0700 Subject: [PATCH] Shouldn't have removed that - adding it back CRM-12339 --- CRM/Core/Resources.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 5be786320e..d5c39145e9 100644 --- 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; } -- 2.25.1