diff --git a/cake/libs/view/scaffolds/view.ctp b/cake/libs/view/scaffolds/view.ctp index 712a9bf3b..288f48c04 100644 --- a/cake/libs/view/scaffolds/view.ctp +++ b/cake/libs/view/scaffolds/view.ctp @@ -47,7 +47,7 @@ foreach ($scaffoldFields as $_field) { } if($isKey !== true) { echo "\t\t".Inflector::humanize($_field)."\n"; - echo "\t\t\n\t\t\t" . ${$singularVar}[$modelClass][$_field] . " \n\t\t\n"; + echo "\t\t\n\t\t\t{${$singularVar}[$modelClass][$_field]}\n \t\t\n"; } } ?>