diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Statements/PurgeStatement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statements/PurgeStatement.php b/src/Statements/PurgeStatement.php index 10d726e..4d16cec 100644 --- a/src/Statements/PurgeStatement.php +++ b/src/Statements/PurgeStatement.php @@ -50,7 +50,7 @@ class PurgeStatement extends Statement */ public function build() { - $ret = 'PURGE ' . $this->log_type . ' ' . 'LOGS ' + $ret = 'PURGE ' . $this->log_type . ' LOGS ' . ($this->end_option !== null ? ($this->end_option . ' ' . $this->end_expr) : ''); return trim($ret); } |