Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 17, 2014
1 parent f80916e commit 63c624d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/Filter/AssetFilter.php
Expand Up @@ -85,7 +85,7 @@ protected function _getAssetFile($url) {
}
$pluginPart[] = Inflector::camelize($parts[$i]);
$plugin = implode('/', $pluginPart);
if (Plugin::loaded($plugin)) {
if ($plugin && Plugin::loaded($plugin)) {
$parts = array_slice($parts, $i + 1);
$fileFragment = implode(DS, $parts);
$pluginWebroot = Plugin::path($plugin) . 'webroot' . DS;
Expand Down

0 comments on commit 63c624d

Please sign in to comment.