diff --git a/lib/routing/opDynamicAclRoute.class.php b/lib/routing/opDynamicAclRoute.class.php index 3b8cfaf1d..2adb8eda0 100644 --- a/lib/routing/opDynamicAclRoute.class.php +++ b/lib/routing/opDynamicAclRoute.class.php @@ -29,6 +29,11 @@ public function getObject() { $result = parent::getObject(); + if (is_null($result)) + { + return $result; + } + if (!$role = $this->getCurrentMemberId()) { $role = 'alien';