Skip to content
Permalink
Browse files

Fix failing test.

  • Loading branch information...
markstory committed Sep 17, 2014
1 parent f80916e commit 63c624d2a0786585a0f65c2d72d944b3b4664112
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Routing/Filter/AssetFilter.php
@@ -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;

0 comments on commit 63c624d

Please sign in to comment.
You can’t perform that action at this time.