We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3f5a0 commit a5fc431Copy full SHA for a5fc431
1 file changed
system/Database/Query.php
@@ -315,13 +315,13 @@ public function getOriginalQuery(): string
315
*
316
* @return void
317
318
- * @see https://regex101.com/r/EUEhay/1 Test
+ * @see https://regex101.com/r/EUEhay/4
319
*/
320
protected function compileBinds()
321
{
322
$sql = $this->finalQueryString;
323
324
- $hasNamedBinds = preg_match('/:[a-z\d.)_(]+:/i', $sql) === 1;
+ $hasNamedBinds = preg_match('/:((?!=).+):/', $sql) === 1;
325
326
if (empty($this->binds)
327
|| empty($this->bindMarker)
0 commit comments