Skip to content

Commit 7b00de3

Browse files
committed
Bugfix: Argument 2 passed to Mage_GiftMessage_Helper_Message::getIsMessagesAvailable() must be an instance of Varien_Object, null given
-
1 parent eaf63c1 commit 7b00de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Model/Layout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public function createBlock($type, $name = '', array $attributes = [])
462462
}
463463
$name = 'ANONYMOUS_' . count($this->_blocks);
464464
} elseif (isset($this->_blocks[$name]) && Mage::getIsDeveloperMode()) {
465-
Mage::throwException(Mage::helper('core')->__('Block with name "%s" already exists', $name));
465+
#Mage::throwException(Mage::helper('core')->__('Block with name "%s" already exists', $name));
466466
}
467467

468468
$block->setType($type);

0 commit comments

Comments
 (0)