closes #5207, empty values in scaffold view

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7436 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-08-05 14:33:44 +00:00
parent a29b328c16
commit ed6ea45581

View file

@ -47,7 +47,7 @@ foreach ($scaffoldFields as $_field) {
}
if($isKey !== true) {
echo "\t\t<dt{$class}>".Inflector::humanize($_field)."</dt>\n";
echo "\t\t<dd{$class}>\n\t\t\t" . ${$singularVar}[$modelClass][$_field] . " \n\t\t</dd>\n";
echo "\t\t<dd{$class}>\n\t\t\t{${$singularVar}[$modelClass][$_field]}\n&nbsp;\t\t</dd>\n";
}
}
?>