From ff0085801f07e74f35398a75c72ede714842f2ea Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Wed, 15 Jan 2025 20:50:33 +0100 Subject: [PATCH] fix typo --- .../core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php | 2 +- .../core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php index 23c8f94f270..64edcb7edac 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php @@ -85,7 +85,7 @@ protected function _prepareForm() $renderer = $this->getLayout()->createBlock('adminhtml/store_switcher_form_renderer_fieldset_element'); if ($renderer instanceof Varien_Data_Form_Element_Renderer_Interface) { - $fieldset->setRenderer($renderer); + $field->setRenderer($renderer); } } else { $fieldset->addField('store_id', 'hidden', [ diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php index ef85b2ecdd6..cdf1146b539 100644 --- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php +++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php @@ -168,7 +168,7 @@ function(v, elem){ $renderer = $this->getLayout()->createBlock('adminhtml/customer_edit_renderer_newpass'); if ($renderer instanceof Varien_Data_Form_Element_Renderer_Interface) { - $fieldset->setRenderer($renderer); + $field->setRenderer($renderer); } // Prepare customer confirmation control (only for existing customers) @@ -209,7 +209,7 @@ function(v, elem){ $renderer = $this->getLayout()->createBlock('adminhtml/customer_edit_renderer_adminpass'); if ($renderer instanceof Varien_Data_Form_Element_Renderer_Interface) { - $fieldset->setRenderer($renderer); + $field->setRenderer($renderer); } } } @@ -233,7 +233,7 @@ function(v, elem){ $renderer = $this->getLayout()->createBlock('adminhtml/customer_edit_renderer_newpass'); if ($renderer instanceof Varien_Data_Form_Element_Renderer_Interface) { - $fieldset->setRenderer($renderer); + $field->setRenderer($renderer); } // Prepare send welcome email checkbox