Skip to content

Commit 594c640

Browse files
eneiasramoskiatng
andauthored
Added check for isModuleOutputEnabled('Mage_Review') in customer's backend page (#4075)
Co-authored-by: Ng Kiat Siong <[email protected]>
1 parent ced031d commit 594c640

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Adminhtml/Block/Customer/Edit

1 file changed

+1
-1
lines changed

app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tabs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function _beforeToHtml()
8282
]);
8383
}
8484

85-
if (Mage::getSingleton('admin/session')->isAllowed('catalog/reviews_ratings')) {
85+
if (Mage::helper('core')->isModuleOutputEnabled('Mage_Review') && Mage::getSingleton('admin/session')->isAllowed('catalog/reviews_ratings')) {
8686
$this->addTab('reviews', [
8787
'label' => Mage::helper('customer')->__('Product Reviews'),
8888
'class' => 'ajax',

0 commit comments

Comments
 (0)