From e4bd2a40e741e9d1b62890dafef783dcc79aeb4c Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Mon, 15 Apr 2019 09:35:18 +0000 Subject: [PATCH] Fix - PHP: Invalid SQL could be generated when using `where ... in ...`. - https://datatables.net/forums/discussion/55875/php-editor-issue#latest --- Database/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Query.php b/Database/Query.php index df21a8c..2763450 100644 --- a/Database/Query.php +++ b/Database/Query.php @@ -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 ) {