summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-11-24 15:46:31 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-11-24 15:46:31 +0100
commit31a0853361be29df22ee5794696a5616607cec03 (patch)
tree90f2543198df65e8add1485e08ef1ac19719f635 /system
parent6f16b564d0d774de979b18bf89c2358d0f8bc487 (diff)
fix error in extension_aliases()
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system')
-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'
);