diff --git a/code/model/Translatable.php b/code/model/Translatable.php index c52e607..310e982 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1574,7 +1574,7 @@ class Translatable extends DataExtension implements PermissionProvider { function MetaTags(&$tags) { $template = '' . "\n"; $translations = $this->owner->getTranslations(); - if($translations) { + if($translations->count()) { $translations = $translations->toArray(); $translations[] = $this->owner;