Commit 41b5ee1d authored by fromme's avatar fromme Committed by Marcin Grabias
Browse files

Issue #3308306 by fromme: Notice: Trying to access array offset on value of...

Issue #3308306 by fromme: Notice: Trying to access array offset on value of type null in ViewsBulkOperationsAccess->access()
parent f315d2e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -44,7 +44,9 @@ class ViewsBulkOperationsAccess implements AccessInterface {
    if ($view = Views::getView($parameters['view_id'])) {
      // Set view arguments, sometimes needed for access checks.
      $view_data = $this->getTempstore($parameters['view_id'], $parameters['display_id'])->get($account->id());
      if ($view_data !== NULL) {
        $view->setArguments($view_data['arguments']);
      }
      if ($view->access($parameters['display_id'], $account)) {
        return AccessResult::allowed();
      }