From d5f8527007d7e6da5d3d593131c24543c67d6871 Mon Sep 17 00:00:00 2001 From: Ihor Vansach Date: Tue, 21 Mar 2023 10:09:48 +0200 Subject: [PATCH] Fixes for Magento 2.4.6 --- Controller/Adminhtml/Category/Save.php | 2 +- Controller/Adminhtml/Comment/Save.php | 2 +- Controller/Adminhtml/Post/Save.php | 2 +- Controller/Adminhtml/Tag/Save.php | 2 +- composer.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Controller/Adminhtml/Category/Save.php b/Controller/Adminhtml/Category/Save.php index c1aa7d60..d738526c 100755 --- a/Controller/Adminhtml/Category/Save.php +++ b/Controller/Adminhtml/Category/Save.php @@ -51,7 +51,7 @@ protected function filterParams($data) } } - $inputFilter = new \Zend_Filter_Input( + $inputFilter = $this->getFilterInput( $filterRules, [], $data diff --git a/Controller/Adminhtml/Comment/Save.php b/Controller/Adminhtml/Comment/Save.php index fcefcb4f..5e551b30 100755 --- a/Controller/Adminhtml/Comment/Save.php +++ b/Controller/Adminhtml/Comment/Save.php @@ -37,7 +37,7 @@ protected function filterParams($data) } } - $inputFilter = new \Zend_Filter_Input( + $inputFilter = $this->getFilterInput( $filterRules, [], $data diff --git a/Controller/Adminhtml/Post/Save.php b/Controller/Adminhtml/Post/Save.php index a72c2ace..1386aebc 100755 --- a/Controller/Adminhtml/Post/Save.php +++ b/Controller/Adminhtml/Post/Save.php @@ -176,7 +176,7 @@ protected function filterParams($data) } } - $inputFilter = new \Zend_Filter_Input( + $inputFilter = $this->getFilterInput( $filterRules, [], $data diff --git a/Controller/Adminhtml/Tag/Save.php b/Controller/Adminhtml/Tag/Save.php index 65207c7e..2f4bd570 100755 --- a/Controller/Adminhtml/Tag/Save.php +++ b/Controller/Adminhtml/Tag/Save.php @@ -35,7 +35,7 @@ protected function filterParams($data) } } - $inputFilter = new \Zend_Filter_Input( + $inputFilter = $this->getFilterInput( $filterRules, [], $data diff --git a/composer.json b/composer.json index b758a702..b808601e 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magefan/module-blog", "description": "Implements Blog functionality on Magento 2 store", "require": { - "magefan/module-community" : ">=2.1.12", + "magefan/module-community" : ">=2.1.13", "magefan/module-blog-graph-ql" : ">=2.1.7", "magefan/module-wysiwyg-advanced" : ">=2.0.14" }, @@ -10,7 +10,7 @@ "magefan/module-amp-blog": "Install this module to activate Blog integration with the Plumrocket AMP extension." }, "type": "magento2-module", - "version": "2.10.12.2", + "version": "2.10.12.3", "autoload": { "files": [ "registration.php" ], "psr-4": {