Commit 7ac5f091 authored by Thomas Löffler's avatar Thomas Löffler

Add cast to integer

parent 0b3b44a0
Pipeline #2852 passed with stages
in 4 minutes
......@@ -168,7 +168,7 @@ class tx_ter_helper
*/
private function userIsAdmin(string $userGroupList): bool
{
return $this->pluginObj->conf['adminFrontendUsergroupUid'] > 0 && GeneralUtility::inList($userGroupList, $this->pluginObj->conf['adminFrontendUsergroupUid']);
return $this->pluginObj->conf['adminFrontendUsergroupUid'] > 0 && GeneralUtility::inList($userGroupList, (int)$this->pluginObj->conf['adminFrontendUsergroupUid']);
}
/**
......@@ -177,7 +177,7 @@ class tx_ter_helper
*/
private function userIsSecurityTeamMember(string $userGroupList): bool
{
return $this->pluginObj->conf['securityTeamFrontendUsergroupUid'] > 0 && GeneralUtility::inList($userGroupList, $this->pluginObj->conf['securityTeamFrontendUsergroupUid']);
return $this->pluginObj->conf['securityTeamFrontendUsergroupUid'] > 0 && GeneralUtility::inList($userGroupList, (int)$this->pluginObj->conf['securityTeamFrontendUsergroupUid']);
}
/**
......
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