Skip to content

Commit

Permalink
Merge pull request FoolCode#113 from Streid/master
Browse files Browse the repository at this point in the history
Fix use the short array push syntax on a string
  • Loading branch information
oohnoitz authored Dec 15, 2016
2 parents 94b85e3 + d288eb8 commit dd8fc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SphinxQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ public function compileInsert()

if (!empty($this->values)) {
$query .= 'VALUES ';
$query_sub = '';
$query_sub = array();

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

0 comments on commit dd8fc03

Please sign in to comment.