Skip to content
Snippets Groups Projects
Commit 91a7097c authored by Georgi Mateev's avatar Georgi Mateev
Browse files

[BUGFIX] Code style

parent 5b303d24
No related branches found
No related tags found
No related merge requests found
......@@ -178,6 +178,7 @@ class JoblistController extends ActionController {
$GLOBALS['TSFE']->page['titlebyextension'] = $job->getTitle();
$GLOBALS['TSFE']->page['description'] = \strip_tags(\substr($job->getDescription(), 0, 200));
if (version_compare(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getExtensionVersion('sg_seo'),
'5.0.0', '<')) {
$GLOBALS['TSFE']->page['extensionArgumentsForCanonicalAndHrefLang'] =
......@@ -276,6 +277,7 @@ class JoblistController extends ActionController {
if ($job) {
$GLOBALS['TSFE']->page['titlebyextension'] = $job->getTitle();
$GLOBALS['TSFE']->page['description'] = \strip_tags(\substr($job->getDescription(), 0, 200));
if (version_compare(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getExtensionVersion('sg_seo'),
'5.0.0', '<')) {
$GLOBALS['TSFE']->page['extensionArgumentsForCanonicalAndHrefLang'] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment