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:
2aa6dd3
)
CRM-19610 : Search preferences changes are not updated
author
Jitendra Purohit
<jitendra@fuzion.co.nz>
Tue, 30 May 2017 11:36:55 +0000
(17:06 +0530)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 11 Jun 2017 22:14:23 +0000
(08:14 +1000)
Civi/Core/SettingsBag.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Core/SettingsBag.php
b/Civi/Core/SettingsBag.php
index 9b415dcf433a5e9af1a2e96b592e2226da3cdd58..8f623da29e878ef6091b7ca03e18fb778d56e88a 100644
(file)
--- a/
Civi/Core/SettingsBag.php
+++ b/
Civi/Core/SettingsBag.php
@@
-352,7
+352,7
@@
class SettingsBag {
}
$dao->find(TRUE);
- if (isset($metadata['on_change'])) {
+ if (isset($metadata['on_change'])
&& $value != 0 && !($dao->value === NULL || unserialize($dao->value) == 0)
) {
foreach ($metadata['on_change'] as $callback) {
call_user_func(
\Civi\Core\Resolver::singleton()->get($callback),