Fix issue #412, textmode not working correctly with js files

This commit is contained in:
fluidbyte
2013-05-27 15:14:12 +00:00
parent 0a488b9cf8
commit 87f159a288

View File

@@ -246,7 +246,7 @@ class fileextension_textmode{
//the availiable extensions, which aren't removed
$availEx = array();
foreach($ext as $ex => $mode){
if(in_array($ex, $this->availiableTextModes)){
if(in_array($mode, $this->availiableTextModes)){
$availEx[$ex] = $mode;
}
}