Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#9395 Missing parent::validate() call (stable-3_3_0)
  • Loading branch information
asmecher committed Oct 10, 2023
1 parent c10622b commit 2d04e77
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -218,7 +218,7 @@ function validate($callHooks = true) {
$submission = $this->getSubmission();

$userGroupDao = DAORegistry::getDAO('UserGroupDAO'); /* @var $userGroupDao UserGroupDAO */
return $userGroupDao->userInGroup($userId, $userGroupId) && $userGroupDao->getById($userGroupId, $submission->getContextId());
return $userGroupDao->userInGroup($userId, $userGroupId) && $userGroupDao->getById($userGroupId, $submission->getContextId()) && parent::validate($callHooks);
}

/**
Expand Down

0 comments on commit 2d04e77

Please sign in to comment.