×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Dec 8, 2015 5:59 AM
Views: 13
Tags: magento patch
//Changed this url fetching method to fix issue arise during patch applying and admin url change -
  1. $form = new Varien_Data_Form(
  2.              array(
  3.                  'id'      => 'edit_form',
  4. -                'action'  => $this->getData('action'),
  5. +                //Changed this url fetching method to fix issue arise during patch applying and admin url change -
  6. +                'action'  => Mage::getSingleton('onsale/rule')->getData('actionurl'),
  7.                  'method'  => 'post',
  8.                  'enctype' => 'multipart/form-data',
  9.              )