Skip to content

Commit

Permalink
Merge pull request #218 from web-vision/wv_deepltranslate-217
Browse files Browse the repository at this point in the history
[BUGFIX] Glossary is not used
  • Loading branch information
NarkNiro authored May 12, 2023
2 parents c535879 + 1013216 commit 92544f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Utility/DeeplBackendUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ private static function getBackendUserAuthentication(): BackendUserAuthenticatio
*/
public static function detectCurrentPage(): array
{
self::$currentPage = [];
$request = $GLOBALS['TYPO3_REQUEST'];
$queryParams = $request ? $request->getQueryParams() : [];
if (isset($queryParams['id'])) {
Expand All @@ -359,7 +360,7 @@ public static function detectCurrentPage(): array
self::$currentPage = self::getPageRecord($pageId);
}
}
self::$currentPage = [];

return self::$currentPage;
}

Expand Down

0 comments on commit 92544f8

Please sign in to comment.