Commit 365ed1b6 authored by Thomas Löffler's avatar Thomas Löffler

Merge branch '424-mark-as-insecure-throws-exception' into 'develop'

Resolve "Mark as insecure throws exception"

Closes #424

See merge request !461
parents 729cc9ee 2f57930e
Pipeline #8178 failed with stages
in 5 minutes and 24 seconds
......@@ -596,7 +596,7 @@ class tx_ter_api
public function setReviewState($accountData, $setReviewStateData)
$userRecordArr = $this->helperObj->getValidUser($accountData);
$reviewersFrontendUsergroupUid = (int)$this->parentObj->conf['reviewersFrontendUsergroupUid'];
$reviewersFrontendUsergroupUid = (int)$GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_ter_pi1.']['reviewersFrontendUsergroupUid'];
if ($reviewersFrontendUsergroupUid == 0) {
throw new \T3o\Ter\Exception\InternalServerErrorException(
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