Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
299
Merge Requests
38
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
34ee75c3
Commit
34ee75c3
authored
28 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): regression caused by
24d1a927
parent
1359daf0
master
No related merge requests found
Pipeline
#100226869
waiting for manual action with stages
in 7 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Core/Media/Thumbnails.php
View file @
34ee75c3
...
...
@@ -26,9 +26,10 @@ class Thumbnails
*/
public
function
get
(
$entity
,
$size
)
{
if
(
is_
string
(
$entity
))
{
$entity
=
$this
->
entitiesBuilder
->
build
(
$entity
);
if
(
is_
numeric
(
$entity
))
{
$entity
=
$this
->
entitiesBuilder
->
single
(
$entity
);
}
if
(
!
$entity
||
!
Core\Security\ACL
::
_
()
->
read
(
$entity
))
{
return
false
;
}
...
...
This diff is collapsed.
Please
register
or
sign in
to comment