Skip to content

Commit 8d5dc08

Browse files
authored
Change empty to is identical check
1 parent 833ca56 commit 8d5dc08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/BaseConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ public function escapeIdentifiers($item)
11261126
return $item;
11271127
}
11281128

1129-
if (empty($this->pregEscapeChar)) {
1129+
if ($this->pregEscapeChar === []) {
11301130
if (is_array($this->escapeChar)) {
11311131
$this->pregEscapeChar = [
11321132
preg_quote($this->escapeChar[0], '/'),

0 commit comments

Comments
 (0)