Skip to content

Commit 8e3b67f

Browse files
authored
Use proper nonstrict check
1 parent f3c0255 commit 8e3b67f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/View/CsvView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ protected function _generateRow($row = null)
455455
}
456456

457457
//bom must be added after encoding
458-
if ($this->viewVars['_bom'] == true) {
458+
if ($this->viewVars['_bom']) {
459459
$csv = $this->getBom($this->viewVars['_csvEncoding']) . $csv;
460460
}
461461

0 commit comments

Comments
 (0)