Commit b00d6d14 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix possible error on Permission code

parent 7ec08899
......@@ -104,7 +104,8 @@ class RegistrationService implements SingletonInterface {
$httpPermissions = filter_var_array($httpPermissions, FILTER_VALIDATE_BOOLEAN);
return $httpPermissions + $defaultHttpPermissions;
if ($httpPermissions) return $httpPermissions + $defaultHttpPermissions;
return $defaultHttpPermissions;
Supports Markdown
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