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