Skip to content

Commit 694b031

Browse files
committed
fix: remove uneeded if condition
1 parent 87acaf7 commit 694b031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3178,7 +3178,7 @@ protected function compileWhereHaving(string $qbKey): string
31783178
// 5 => ')' /* optional */
31793179
// ];
31803180

3181-
if (isset($matches[4]) && $matches[4] !== '' && $matches[4] !== '0') {
3181+
if (isset($matches[4]) && $matches[4] !== '') {
31823182
$protectIdentifiers = false;
31833183
if (str_contains($matches[4], '.')) {
31843184
$protectIdentifiers = true;

0 commit comments

Comments
 (0)