Skip to content

Commit

Permalink
Woops
Browse files Browse the repository at this point in the history
  • Loading branch information
trob committed Nov 29, 2015
1 parent 5873bc7 commit 0d9197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_fabrik/models/csvexport.php
Expand Up @@ -101,7 +101,7 @@ public function writeFile($total, $canDownload = false)
}

// with UTF8 Excel needs BOM
$str = ( $input->get('excel') == 1 && $this->getEncoding() ) ? "\xEF\xBB\xBF" : '';
$str = ( $input->get('excel') == 1 && $this->getEncoding() == 'UTF-8' ) ? "\xEF\xBB\xBF" : '';
}

$table = $this->model->getTable();
Expand Down

0 comments on commit 0d9197b

Please sign in to comment.