From aa1e20bcefa88e18e971cb37252750f07c678923 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 21:46:59 -0500 Subject: [PATCH] fixed bug in auto-loader that caused module classes to not load correctly. --- system/loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/loader.php b/system/loader.php index 56c80fb0..303a3c32 100644 --- a/system/loader.php +++ b/system/loader.php @@ -52,7 +52,7 @@ class Loader { return class_alias(static::$aliases[$class], $class); } - ( ! static::load_from_registered($file)) or static::load_from_module($file); + (static::load_from_registered($file)) or static::load_from_module($file); } /**