Skip to content

Commit a5bb035

Browse files
committed
Merge pull request laravel#1165 from JoostK/develop
Problem with manual running of Artisan tasks
2 parents 666db87 + a1c7dde commit a5bb035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/cli/command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static function resolve($bundle, $task)
125125
// the requested method may be executed.
126126
if (file_exists($path = Bundle::path($bundle).'tasks/'.$task.EXT))
127127
{
128-
require $path;
128+
require_once $path;
129129

130130
$task = static::format($bundle, $task);
131131

0 commit comments

Comments
 (0)