Skip to content

Commit d288eb8

Browse files
author
streid
committed
Fix use the short array push syntax on a string
1 parent 94b85e3 commit d288eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SphinxQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ public function compileInsert()
687687

688688
if (!empty($this->values)) {
689689
$query .= 'VALUES ';
690-
$query_sub = '';
690+
$query_sub = array();
691691

692692
foreach ($this->values as $value) {
693693
$query_sub[] = '('.implode(', ', $this->getConnection()->quoteArr($value)).')';

0 commit comments

Comments
 (0)