summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/application/models/file_mod.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php
index 24b491831..a41e04b1a 100644
--- a/system/application/models/file_mod.php
+++ b/system/application/models/file_mod.php
@@ -379,6 +379,7 @@ class File_mod extends Model {
// Handle alias extensions
function extension_aliases($alias)
{
+ if ($alias === false) return false;
$aliasarray = array(
'py' => 'python'
);