Commit 643b4408 authored by Taylor Otwell's avatar Taylor Otwell

bundle::exists should return true for default bundle.

parent 395236d6
...@@ -131,7 +131,7 @@ class Bundle { ...@@ -131,7 +131,7 @@ class Bundle {
*/ */
public static function exists($bundle) public static function exists($bundle)
{ {
return in_array(strtolower($bundle), static::names()); return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names());
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment