Skip to content

Commit

Permalink
Fix #3349 some more.
Browse files Browse the repository at this point in the history
  • Loading branch information
andris-sevcenko committed Sep 13, 2019
1 parent b702198 commit ef34051
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 @@ -4,6 +4,7 @@

### Fixed
- Fixed a bug where asset queries’ `withTransforms` param wasn’t working for eager-loaded assets. ([#4931](https://github.com/craftcms/cms/issues/4931))
- Fixed a bug where the "Edit Image" element action sometimes would be missing. ([#3349](https://github.com/craftcms/cms/issues/3349))

## 3.3.3 - 2019-09-12

Expand Down
2 changes: 1 addition & 1 deletion src/elements/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ protected static function defineActions(string $source = null): array
);

// Edit Image
if ($canDeleteAndSave) {
if ($userSession->checkPermission('editImagesInVolume:' . $volume->uid)) {
$actions[] = EditImage::class;
}

Expand Down

0 comments on commit ef34051

Please # to comment.