Skip to content

Commit cbf31bf

Browse files
committed
Remove another superfluous test
It's very unlikely that the bindMarker property would be empty.
1 parent 86758cc commit cbf31bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

system/Database/Query.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,6 @@ protected function compileBinds()
288288
}
289289

290290
if (is_numeric(key(array_slice($binds, 0, 1)))) {
291-
if (empty($this->bindMarker)) {
292-
return;
293-
}
294-
295291
$ml = strlen($this->bindMarker);
296292

297293
$this->finalQueryString = $this->matchSimpleBinds($sql, $binds, $bindCount, $ml);

0 commit comments

Comments
 (0)