X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FBAO%2FWordReplacement.php;h=d8fe9df6b359fa05c4dcaa8629eaae7d5a35f058;hb=d9fcaba3209b11e0a65c3f6e280f88bdff5fec77;hp=e5e215a46c95f20ce94b53ae0e1f06b68f5cdcc5;hpb=060ea8f8e944292abc945b136c66cb7ccabd4fc1;p=civicrm-core.git diff --git a/CRM/Core/BAO/WordReplacement.php b/CRM/Core/BAO/WordReplacement.php index e5e215a46c..d8fe9df6b3 100644 --- a/CRM/Core/BAO/WordReplacement.php +++ b/CRM/Core/BAO/WordReplacement.php @@ -232,7 +232,7 @@ WHERE domain_id = %1 $localCustomData = $localeCustomArray[$lang]; // Traverse status array "enabled" "disabled" foreach ($localCustomData as $status => $matchTypes) { - $params["is_active"] = ($status == "enabled") ? TRUE : FALSE; + $params["is_active"] = $status == "enabled"; // Traverse Match Type array "wildcardMatch" "exactMatch" foreach ($matchTypes as $matchType => $words) { $params["match_type"] = $matchType;