summaryrefslogtreecommitdiffstats
path: root/src/Statements/LoadStatement.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statements/LoadStatement.php')
-rw-r--r--src/Statements/LoadStatement.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statements/LoadStatement.php b/src/Statements/LoadStatement.php
index 2130021..858885e 100644
--- a/src/Statements/LoadStatement.php
+++ b/src/Statements/LoadStatement.php
@@ -197,7 +197,7 @@ class LoadStatement extends Statement
$ret .= ' ' . $this->fields_keyword . ' ' . $this->fields_options;
}
- if ($this->lines_options !== null) {
+ if ($this->lines_options !== null && count($this->lines_options) > 0) {
$ret .= ' LINES ' . $this->lines_options;
}