Skip to content

Commit a41b021

Browse files
committed
Merge branch 'release/2.3.2'
2 parents 74d5823 + 3a2edc4 commit a41b021

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# Release Notes for Webhooks for Craft CMS
22

3-
## 2.3.1 - 2020-07-19
3+
## 2.3.2 - 2020-06-27
4+
5+
### Fixed
6+
- Fixed a PHP error that occurred when running Craft 3.5 or later. ([#34](https://github.com/craftcms/webhooks/issues/34))
7+
8+
## 2.3.1 - 2020-06-19
49

510
### Added
611
- Added a new “Element is enabled” filter. ([#29](https://github.com/craftcms/webhooks/issues/29))
712

8-
## 2.3.0 - 2020-07-18
13+
## 2.3.0 - 2020-06-18
914

1015
### Added
1116
- Added a settings page in the control panel.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "craftcms/webhooks",
33
"description": "Post webhooks when events are triggered in Craft CMS.",
4-
"version": "2.3.1",
4+
"version": "2.3.2",
55
"type": "craft-plugin",
66
"keywords": [
77
"html",

src/filters/BaseElementFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace craft\webhooks\filters;
44

55
use Craft;
6+
use craft\base\Component;
67
use craft\base\ElementInterface;
78
use craft\events\ElementEvent;
89
use craft\services\Elements;
@@ -15,7 +16,7 @@
1516
* @author Pixel & Tonic, Inc. <[email protected]>
1617
* @since 2.1
1718
*/
18-
abstract class BaseElementFilter implements FilterInterface
19+
abstract class BaseElementFilter extends Component implements FilterInterface
1920
{
2021
public static function show(string $class, string $event): bool
2122
{

0 commit comments

Comments
 (0)