Skip to content

Commit dd8fc03

Browse files
authored
Merge pull request #113 from Streid/master
Fix use the short array push syntax on a string
2 parents 94b85e3 + d288eb8 commit dd8fc03

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)