Browse Source

Switch needle and haystack args.

ADmad 11 years ago
parent
commit
030feb24db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Shell/PluginAssetsShell.php

+ 1 - 1
src/Shell/PluginAssetsShell.php

@@ -58,7 +58,7 @@ class PluginAssetsShell extends Shell {
 			$link = Inflector::underscore($plugin);
 			$dir = WWW_ROOT;
 			$namespaced = false;
-			if (strpos('/', $link) !== false) {
+			if (strpos($link, '/') !== false) {
 				$namespaced = true;
 				$parts = explode('/', $link);
 				$link = array_pop($parts);