Skip to content

Commit

Permalink
Fixed an error
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 24, 2018
1 parent 1b25b91 commit 0d7c452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Fixed a bug where empty Plain Text fields were getting empty string values rather than `null`.
- Fixed a bug where elements within relational fields could have two thumbnails. ([#2785](https://github.com/craftcms/cms/issues/2785))
- Fixed a bug where it was not possible to pass a `--table-prefix` argument to the `setup/db-creds` command. ([#2791](https://github.com/craftcms/cms/pull/2791))
- Fixed an error that occurred for users without permission to perform updates, if available update info wasn’t cached.

## 3.0.3.1 - 2018-04-18

Expand Down
2 changes: 1 addition & 1 deletion src/templates/_layouts/cp.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h1>{{ title }}</h1>
{% endblock %}


{% if not craft.app.updates.getIsUpdateInfoCached() %}
{% if currentUser.can('performUpdates') and not craft.app.updates.getIsUpdateInfoCached() %}
{% js %}
Craft.cp.checkForUpdates();
{% endjs %}
Expand Down

0 comments on commit 0d7c452

Please # to comment.