Browse Source

Merge pull request #517 from joecwallace/migrate-resolver-classify-fix

Resolver::resolve() bug fix
Taylor Otwell 12 years ago
parent
commit
b370549d80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/cli/tasks/migrate/resolver.php

+ 1 - 1
laravel/cli/tasks/migrate/resolver.php

@@ -116,7 +116,7 @@ class Resolver {
 			// naming collisions with other bundle's migrations.
 			$prefix = Bundle::class_prefix($bundle);
 
-			$class = $prefix.substr($name, 18);
+			$class = $prefix.\Laravel\Str::classify(substr($name, 18));
 
 			$migration = new $class;