We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8fe16d commit d22c6f1Copy full SHA for d22c6f1
system/Database/Query.php
@@ -273,14 +273,13 @@ public function getOriginalQuery(): string
273
*/
274
protected function compileBinds()
275
{
276
- $sql = $this->finalQueryString;
+ $sql = $this->finalQueryString;
277
+ $binds = $this->binds;
278
- if (empty($this->binds)) {
279
+ if (empty($binds)) {
280
return;
281
}
282
- $binds = (array) $this->binds;
283
-
284
if (is_int(array_key_first($binds))) {
285
$bindCount = count($binds);
286
$ml = strlen($this->bindMarker);
0 commit comments