Commit 2f57930e authored by Stefan Busemann's avatar Stefan Busemann

[TASK] respect CGL

parent aae845f0
Pipeline #8177 passed with stages
in 3 minutes and 43 seconds
......@@ -596,7 +596,7 @@ class tx_ter_api
public function setReviewState($accountData, $setReviewStateData)
{
$userRecordArr = $this->helperObj->getValidUser($accountData);
$reviewersFrontendUsergroupUid = (int) $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_ter_pi1.']['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