Skip to content

Commit

Permalink
Fixed #14794
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 12, 2024
1 parent 39b3215 commit 806e7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Fixed a bug where element selection modals were only showing the first 100 elements. ([#14790](https://github.com/craftcms/cms/issues/14790))
- Fixed a PHP error that could occur on the Dashboard if any Quick Post widgets hadn’t been saved since before Craft 1.2. ([#14794](https://github.com/craftcms/cms/issues/14794))

## 5.0.4 - 2024-04-10

Expand Down
4 changes: 2 additions & 2 deletions src/widgets/QuickPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public static function icon(): ?string
public int $section;

/**
* @var int The ID of the entry type that the widget should create entries with.
* @var int|null The ID of the entry type that the widget should create entries with.
*/
public int $entryType;
public ?int $entryType = null;

/**
* @var Section|false
Expand Down

0 comments on commit 806e7cb

Please sign in to comment.