Magento 1.5.1.0 Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl()

Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in \app\code\core\Mage\Adminhtml\Block\Widget\Grid.php on line 1622

I think this is bug in Magento Version 1.5.1.0
To solve this
Go To app/code/core/Mage/Adminhtml/Block/Widget/Grid.php


public function getRowUrl($item)
{ 
$res = parent::getRowUrl($item); return ($res ? $res : ‘#’); 
}

replace with this one.  

public function getRowUrl($item) 
{ 
$res = parent::getUrl($item); return ($res ? $res : ‘#’); 
}

Share on Facebook



2 thoughts on “Magento 1.5.1.0 Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl()”