From 4dd105d415e5cc6928679cb2e4621b1435d9f5e4 Mon Sep 17 00:00:00 2001 From: gwoo Date: Mon, 1 Dec 2008 19:39:40 +0000 Subject: [PATCH] fixes #5829, form helper using proper method reference for parseAttributes. A patch would have been nice, but some ticket submitters prefer not to make much effort. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7902 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index 69b97bf33..5a92b9d78 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -234,7 +234,7 @@ class FormHelper extends AppHelper { } $this->setEntity($model . '.', true); - return $this->output(sprintf($this->Html->tags['form'], $this->Html->_parseAttributes($htmlAttributes, null, ''))) . $append; + return $this->output(sprintf($this->Html->tags['form'], $this->_parseAttributes($htmlAttributes, null, ''))) . $append; } /** * Closes an HTML form, cleans up values set by FormHelper::create(), and writes hidden @@ -1695,13 +1695,13 @@ class FormHelper extends AppHelper { $label = $this->label(null, $title, $label); $item = sprintf( $this->Html->tags['checkboxmultiple'], $name, - $this->Html->_parseAttributes($htmlOptions) + $this->_parseAttributes($htmlOptions) ); $select[] = $this->Html->div($attributes['class'], $item . $label); } else { $select[] = sprintf( $this->Html->tags['selectoption'], - $name, $this->Html->_parseAttributes($htmlOptions), $title + $name, $this->_parseAttributes($htmlOptions), $title ); } }