Commit b000b628 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1132 Simply return an emty array if koecapabilities are not set.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 75eaa55c
...@@ -759,9 +759,7 @@ class Request { ...@@ -759,9 +759,7 @@ class Request {
if (isset(self::$koeCapabilites)) { if (isset(self::$koeCapabilites)) {
return self::$koeCapabilites; return self::$koeCapabilites;
} }
else { return array();
return array();
}
} }
/** /**
......
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