Commit 1231e20a authored by Mark Harding's avatar Mark Harding

(fix): do not strict type in_array

parent 39d0fa76
No related merge requests found
Pipeline #79210313 waiting for manual action with stages
in 10 minutes and 13 seconds
......@@ -101,7 +101,7 @@ class ACL
* And check the owner is the container_guid too
*/
if (
in_array($entity->getAccessId(), [ACCESS_LOGGED_IN, ACCESS_PUBLIC], true)
in_array($entity->getAccessId(), [ACCESS_LOGGED_IN, ACCESS_PUBLIC], false)
&& (
$entity->owner_guid == $entity->container_guid
|| $entity->container_guid == 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment