Commit aae845f0 authored by Stefan Busemann's avatar Stefan Busemann

[BUGFIX] retrieve reviewer usergroup via typoscript

parent 729cc9ee
Pipeline #8176 failed with stages
in 1 minute
......@@ -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