summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/WT/Query/Name.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Query/Name.php b/library/WT/Query/Name.php
index 1cf31feee1..1c8cd69754 100644
--- a/library/WT/Query/Name.php
+++ b/library/WT/Query/Name.php
@@ -204,7 +204,7 @@ class WT_Query_Name {
break;
}
// Easy cases: the MySQL collation rules take care of it
- return "$field LIKE '@".$letter."%' ESCAPE '@' COLLATE ".WT_I18N::$collation;
+ return "$field LIKE '@".$letter."%' COLLATE ".WT_I18N::$collation." ESCAPE '@'";
}
// Get a list of initial surname letters for indilist.php and famlist.php