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:
b37b9be
)
Please the PHP 5.old gods.
author
Johan Vervloet
<johanv@johanv.org>
Thu, 24 Nov 2016 10:30:39 +0000
(11:30 +0100)
committer
Johan Vervloet
<johanv@johanv.org>
Thu, 24 Nov 2016 10:30:39 +0000
(11:30 +0100)
CRM/Core/BAO/WordReplacement.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/WordReplacement.php
b/CRM/Core/BAO/WordReplacement.php
index a76d5a583e8714435b8d0bdacc6da6ebcf5f6b86..cef03ad579ef2c5b4af8938028339efd3b2b65e5 100644
(file)
--- a/
CRM/Core/BAO/WordReplacement.php
+++ b/
CRM/Core/BAO/WordReplacement.php
@@
-226,7
+226,8
@@
WHERE domain_id = %1
$settingsResult = civicrm_api3('Setting', 'get', array(
'return' => 'lcMessages',
));
- $lang = CRM_Utils_Array::first($settingsResult['values'])['lcMessages'];
+ $returnValues = CRM_Utils_Array::first($settingsResult['values']);
+ $lang = $returnValues['lcMessages'];
$wordReplacementCreateParams = array();
// get all domains