From 9ba41a8ca875ef6550f7d86a93149e6dc7842ed9 Mon Sep 17 00:00:00 2001 From: priyashantha Date: Thu, 7 Jun 2018 09:51:44 +0530 Subject: [PATCH] needs to check controller is a ContentController otherwise no AbsoluteLink --- code/model/Translatable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 4638ec6..c424381 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1574,6 +1574,7 @@ class Translatable extends DataExtension implements PermissionProvider { function MetaTags(&$tags) { if ( ($controller = Controller::curr()) + && $controller instanceof ContentController && count($controller->getRequest()->getVars()) ) { $tags .= '';