mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
02ec1887ce
commit
b5a4e298fb
1 changed files with 2 additions and 0 deletions
|
@ -321,6 +321,8 @@ class FormHelper extends AppHelper {
|
||||||
$label = $labelText;
|
$label = $labelText;
|
||||||
} elseif ($label != false) {
|
} elseif ($label != false) {
|
||||||
$out = $this->label(null, $label);
|
$out = $this->label(null, $label);
|
||||||
|
} else {
|
||||||
|
$out = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$error = null;
|
$error = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue