diff --git a/dev/MigrationTask.php b/dev/MigrationTask.php index 1001465b2..276b62fd8 100644 --- a/dev/MigrationTask.php +++ b/dev/MigrationTask.php @@ -16,7 +16,7 @@ * protected $description = "Description"; // description of what it does * * public function run($request) { - * if ($request->param('Direction') == 'down') { + * if ($request->getVar('Direction') == 'down') { * $this->down(); * } else { * $this->up();