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
5a7ee167
Commit
5a7ee167
authored
17 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): If entity not found then dont pass to ACL - fixes
front#2298
parent
34ee75c3
master
No related merge requests found
Pipeline
#100232126
waiting for manual action with stages
in 7 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/entities.php
View file @
5a7ee167
...
...
@@ -879,8 +879,9 @@ function elgg_get_entities(array $options = array()) {
}
$entity
=
entity_row_to_elggstar
(
$newrow
);
if
(
Minds\Core\Security\ACL
::
_
()
->
read
(
$entity
))
if
(
$entity
&&
Minds\Core\Security\ACL
::
_
()
->
read
(
$entity
))
{
$entities
[]
=
$entity
;
}
}
}
}
catch
(
Exception
$e
){
...
...
This diff is collapsed.
Please
register
or
sign in
to comment