projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #24162 from colemanw/savedSearchLabel
[civicrm-core.git]
/
CRM
/
Core
/
Action.php
diff --git
a/CRM/Core/Action.php
b/CRM/Core/Action.php
index fc1dcd7c4a85c53fdbe738318a1c70aa8b21d78d..1267425c59da885d432660ab184fda96e354c053 100644
(file)
--- a/
CRM/Core/Action.php
+++ b/
CRM/Core/Action.php
@@
-373,7
+373,7
@@
class CRM_Core_Action {
*/
public static function &replace(&$str, &$values) {
foreach ($values as $n => $v) {
- $str = str_replace("%%$n%%",
$v, $str
);
+ $str = str_replace("%%$n%%",
($v ?? ''), ($str ?? '')
);
}
return $str;
}