fixed a octet stream handling bug in the code file view

This commit is contained in:
hyung-hwan 2017-04-03 15:14:55 +00:00
parent 3f5307ed05
commit 2390464e0e

View File

@ -11,7 +11,7 @@
$is_special_stream = FALSE; $is_special_stream = FALSE;
if (array_key_exists('properties', $file) && count($file['properties']) > 0) if (array_key_exists('properties', $file) && count($file['properties']) > 0)
{ {
$octet_stream = TRUE; $octet_stream = FALSE;
foreach ($file['properties'] as $pn => $pv) foreach ($file['properties'] as $pn => $pv)
{ {
if ($pn == 'svn:mime-type') if ($pn == 'svn:mime-type')