Skip to content

Instantly share code, notes, and snippets.

View jissereitsma's full-sized avatar

Jisse Reitsma jissereitsma

View GitHub Profile
@jissereitsma
jissereitsma / patch.diff
Last active March 15, 2023 07:09
Patch Magento for APSB22-48 (2.4.3, 2.3.7-p3, 2.3.6-p1, 2.2.11 and possibly others)
diff --git a/Filter/Template.php b/Filter/Template.php
index 8a3b350f3ab..39bf4c23e16 100644
--- a/Filter/Template.php
+++ b/Filter/Template.php
@@ -9,7 +9,9 @@
*/
namespace Magento\Framework\Filter;
+use InvalidArgumentException;
use Magento\Framework\App\ObjectManager;