From 31a0853361be29df22ee5794696a5616607cec03 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 24 Nov 2010 15:46:31 +0100 Subject: fix error in extension_aliases() Signed-off-by: Florian Pritz --- system/application/models/file_mod.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system') 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' ); -- cgit v1.2.3-24-g4f1b