Skip to content

Commit

Permalink
Remove explicit COLLATE utf8_bin from RelationshipCache
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Lott / Artful Robot committed Oct 9, 2020
1 parent 0d193d5 commit 6a20e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/BAO/RelationshipCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static function onHookTriggerInfo($e) {

// Condition
implode(' OR ', array_map(function ($col) {
return "(OLD.$col != NEW.$col COLLATE utf8_bin)";
return "(OLD.$col != NEW.$col)";
}, self::$relTypeWatchFields)),

// Action
Expand Down

0 comments on commit 6a20e0c

Please sign in to comment.