bundle::exists should return true for default bundle.
This commit is contained in:
parent
395236d643
commit
643b440872
|
@ -131,7 +131,7 @@ public static function handles($uri)
|
|||
*/
|
||||
public static function exists($bundle)
|
||||
{
|
||||
return in_array(strtolower($bundle), static::names());
|
||||
return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue