Skip to content

Commit

Permalink
version 5.1.0 (#2205)
Browse files Browse the repository at this point in the history
* version 5.1.0
* fix bug
  • Loading branch information
ildyria authored Jan 18, 2024
1 parent c0c2e69 commit 28dec12
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 72 deletions.
2 changes: 1 addition & 1 deletion app/Actions/Album/Unlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function propagate(string $password): void
// list of such albums is not exposed to the user and is
// considered as the last access check criteria.
$albums = BaseAlbumImpl::query()
->select(['base_albums.id', APC::PASSWORD])
->select(['base_albums.id', 'base_albums.owner_id', APC::PASSWORD])
->join(APC::ACCESS_PERMISSIONS, 'base_album_id', '=', 'base_albums.id', 'inner')
->whereNull(APC::ACCESS_PERMISSIONS . '.user_id')
->whereNotNull(APC::PASSWORD)
Expand Down
Loading

0 comments on commit 28dec12

Please sign in to comment.