Skip to content

Commit

Permalink
[php:core] fix problem auto convert encoding for quicklook
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Dec 8, 2016
1 parent 05dc47c commit a17fb39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion php/elFinder.class.php
Expand Up @@ -2545,7 +2545,10 @@ protected function get($args) {
}
if ($enc) {
if ($args['conv'] == '1') {
$args['conv'] = $enc === 'unknown'? '' : $enc;
$args['conv'] = '';
if ($enc === 'unknown') {
$content = false;
}
} else if ($enc === 'unknown') {
return array('doconv' => $enc);
}
Expand Down

0 comments on commit a17fb39

Please sign in to comment.