diff --git a/php/jqGrid.php b/php/jqGrid.php index bee42f4..4e7c995 100644 --- a/php/jqGrid.php +++ b/php/jqGrid.php @@ -736,7 +736,7 @@ protected function buildOrderBy($sidx, $sord) */ protected function buildWhere($where, $glue, $type) { - return $where ? implode($glue, $where) : $this->where_empty; + return ($where ? implode($glue, $where) : $this->where_empty) . "\n"; } /** @@ -1781,4 +1781,4 @@ protected function implodePrimaryKey($row) return implode($this->primary_key_glue, $pk_parts); } -} \ No newline at end of file +}