Skip to content

Commit 2cc5bc5

Browse files
committed
Revert "Remove invalid condition"
This reverts commit fe4f5f7.
1 parent fe4f5f7 commit 2cc5bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Statements/LoadStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function build()
197197
$ret .= ' ' . $this->fields_keyword . ' ' . $this->fields_options;
198198
}
199199

200-
if ($this->lines_options !== null) {
200+
if ($this->lines_options !== null && count($this->lines_options) > 0) {
201201
$ret .= ' LINES ' . $this->lines_options;
202202
}
203203

0 commit comments

Comments
 (0)