Skip to content

Commit

Permalink
Fix - PHP: Invalid SQL could be generated when using where ... in ....
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Apr 15, 2019
1 parent a1c872e commit e4bd2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Database/Query.php
Expand Up @@ -901,7 +901,7 @@ protected function _build_where()
// Nothing
}
else {
$condition .= $this->_where[$i]['operator'];
$condition .= $this->_where[$i]['operator'].' ';
}

if ( $this->_where[$i]['group'] !== null ) {
Expand Down

0 comments on commit e4bd2a4

Please sign in to comment.