From 643b440872b2e7c931aef3d3cdbdf54df5fc3c76 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 6 Feb 2012 08:28:45 -0600 Subject: [PATCH] bundle::exists should return true for default bundle. --- laravel/bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/bundle.php b/laravel/bundle.php index 825b31fe..8641c98c 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -131,7 +131,7 @@ class Bundle { */ public static function exists($bundle) { - return in_array(strtolower($bundle), static::names()); + return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names()); } /**