Fixing "undefined variable" problem in FormHelper::input

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4120 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-12-22 07:38:31 +00:00
parent 02ec1887ce
commit b5a4e298fb

View file

@ -321,6 +321,8 @@ class FormHelper extends AppHelper {
$label = $labelText;
} elseif ($label != false) {
$out = $this->label(null, $label);
} else {
$out = '';
}
$error = null;