Skip to content

Commit 364ca92

Browse files
committed
fixed order typo in like filter
1 parent f124259 commit 364ca92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dba/LikeFilter.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function getQueryString(AbstractModelFactory $factory, bool $includeTable = fals
3737
}
3838

3939
// it is not ideal to have to make a distinction between the DB types here, but currently there does not seem to be another solution to achieve real case-sensitive like filtering
40-
$likeStatement = " BINARY LIKE ?";
40+
$likeStatement = " LIKE BINARY ?";
4141
if (DBA_TYPE == 'postgres') {
4242
$likeStatement = " LIKE ? COLLATE \"C\"";
4343
}

0 commit comments

Comments
 (0)