Skip to content
Snippets Groups Projects
Commit 9ceebc57 authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Update webform_node.module

parent 79ec088d
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ class WebformNodeAccess {
*/
public static function checkWebformSubmissionAccess($operation, $entity_access, NodeInterface $node, WebformSubmissionInterface $webform_submission, AccountInterface $account) {
$access_result = static::checkAccess($operation, $entity_access, $node, $webform_submission, $account);
if ($access_result->isForbidden()) {
if (!$access_result->isAllowed()) {
return $access_result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment