Skip to content

Commit 7f3397a

Browse files
lubosdzbizley
andauthored
Update framework/log/FileTarget.php
Co-authored-by: Bizley <[email protected]>
1 parent 764926a commit 7f3397a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/log/FileTarget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function export()
108108
{
109109
$text = implode("\n", array_map([$this, 'formatMessage'], $this->messages)) . "\n";
110110

111-
if (!trim($text)) {
111+
if (trim($text) === '') {
112112
return; // No messages to export, so we exit the function early
113113
}
114114

0 commit comments

Comments
 (0)