Permalink
Browse files

Change var -> public in controllertask.

Makes the confirmation message and generated code the same.
Fixes #2216
  • Loading branch information...
markstory committed Nov 6, 2011
1 parent 3fa0bdb commit aae8a8962326c5e9a76ac1df1ffc73a9f216fdf3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/Task/ControllerTask.php
@@ -219,7 +219,7 @@ public function confirmController($controllerName, $useDynamicScaffold, $helpers
$this->out(__d('cake_console', "Controller Name:\n\t%s", $controllerName));
if (strtolower($useDynamicScaffold) == 'y') {
- $this->out("var \$scaffold;");
+ $this->out("public \$scaffold;");
}
$properties = array(

0 comments on commit aae8a89

Please sign in to comment.