Skip to content

Commit

Permalink
Fixed #11453
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jun 18, 2022
1 parent 3d53b63 commit fc24f5c
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 @@ -38,6 +38,7 @@
- Fixed a JavaScript error that occurred on element indexes for users that didn’t have permission to edit any sites.
- Fixed a bug where users without permission to create new entries in a section could duplicate existing entries. ([#11447](https://github.com/craftcms/cms/pull/11447))
- Fixed a bug where element selection condition rules weren’t working if an element ID was provided. ([#11451](https://github.com/craftcms/cms/pull/11451))
- Fixed a PHP error that occurred when executing a GraphQL query using a token that wasn’t set to a schema. ([#11453](https://github.com/craftcms/cms/issues/11453))

## 4.0.4 - 2022-06-03

Expand Down
4 changes: 2 additions & 2 deletions src/models/GqlToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class GqlToken extends Model
private ?array $_scope = null;

/**
* @var GqlSchema The schema for this token.
* @var GqlSchema|null The schema for this token.
*/
private GqlSchema $_schema;
private ?GqlSchema $_schema = null;

/**
* @var bool Whether this is a temporary token
Expand Down

0 comments on commit fc24f5c

Please sign in to comment.