Skip to content

Instantly share code, notes, and snippets.

Axel H. tux-rampage

  • LUKA netconsult GmbH
  • Frankfurt am Main
Block or report user

Report or block tux-rampage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tux-rampage
tux-rampage / autoload_di.global.php
Created Dec 3, 2018
zend-di inject config service
View autoload_di.global.php
<?php
return [
'dependencies' => [
'auto' => [
'types' => [
\App\MyService::class => [
'parameters' => [
'config' => new \Zend\Di\Resolver\ServiceInjection('config'),
],
View LUKA-MCE20151203-salesrule-hotfix.patch
diff --git a/magento/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php b/magento/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php
index c07e179..e3ba1e6 100644
--- a/magento/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php
+++ b/magento/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Subselect.php
@@ -111,6 +111,12 @@
// $aggregatorArr = explode('/', $this->getAggregator());
// $this->setValue((int)$aggregatorArr[0])->setAggregator($aggregatorArr[1]);
+ // The parent class is passing children of configurable items to this method again
+ // this is causing an infinite recursion if we let it pass
View LUKA-MCE20150714-1.9.2.0-cms-caching-hotfix.patch
diff --git a/magento/app/code/core/Mage/Cms/Block/Block.php b/magento/app/code/core/Mage/Cms/Block/Block.php
index 75aab46..3693349 100644
--- a/magento/app/code/core/Mage/Cms/Block/Block.php
+++ b/magento/app/code/core/Mage/Cms/Block/Block.php
@@ -72,4 +72,19 @@ class Mage_Cms_Block_Block extends Mage_Core_Block_Abstract
}
return $html;
}
+
+ /**
You can’t perform that action at this time.