Commit bbecb3d0 authored by Stefan Busemann's avatar Stefan Busemann

Apply suggestion to extensions/t3o_slack/Classes/ViewHelpers/ShowSlackLinkViewHelper.php

parent ce302605
Pipeline #7064 passed with stages
in 3 minutes and 30 seconds
......@@ -37,7 +37,7 @@ class ShowSlackLinkViewHelper extends AbstractViewHelper
}
} else {
// @todo render link to register for slack
if ($GLOBALS['TSFE']->fe_user->user['uid'] == $this->arguments['frontendUserUID']) {
if ($GLOBALS['TSFE']->fe_user->user['uid'] === (int)$this->arguments['frontendUserUID']) {
// @todo add TS configuration
$content = '<a href="https://my.typo3.org/?id=23">Get your TYPO3 Slack Account</a>';
} else {
......
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