Browse Source

Change argument to $publisher->publish from $bundle to $bundle['name'].

Paul Boco 13 years ago
parent
commit
9dbc15a3be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/cli/tasks/bundle/bundler.php

+ 2 - 2
laravel/cli/tasks/bundle/bundler.php

@@ -51,7 +51,7 @@ class Bundler extends Task {
 
 
 			IoC::resolve($provider)->install($bundle);
 			IoC::resolve($provider)->install($bundle);
 
 
-			$publisher->publish($bundle);
+			$publisher->publish($bundle['name']);
 		}
 		}
 	}
 	}
 
 
@@ -72,7 +72,7 @@ class Bundler extends Task {
 
 
 		foreach ($bundles as $bundle)
 		foreach ($bundles as $bundle)
 		{
 		{
-			$publisher->publish($bundle);
+			$publisher->publish($bundle['name']);
 		}
 		}
 	}
 	}