Skip to content

Instantly share code, notes, and snippets.

@nojimage
Created August 19, 2014 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojimage/630f751e3633befe04bc to your computer and use it in GitHub Desktop.
Save nojimage/630f751e3633befe04bc to your computer and use it in GitHub Desktop.
Magento 1.9.0.1 Mage_GiftMessage_Block_Adminhtml_Sales_Order_Create_Items bug
diff --git a/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php b/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php
index 2f7bb8e..0909a7c 100644
--- a/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php
+++ b/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php
@@ -66,7 +66,7 @@ class Mage_GiftMessage_Block_Adminhtml_Sales_Order_Create_Items extends Mage_Adm
*/
public function getFormHtml()
{
- return $this->getLayout()->createBlock('adminhtml/sales_order_create_giftmessage_form')
+ return $this->getLayout()->createBlock('giftmessage/adminhtml_sales_order_create_form')
->setEntity($this->getItem())
->setEntityType('item')
->toHtml();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment