From e222851ac4d7f9b26ea7580141ca1e6022705c14 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 28 Jun 2016 23:04:48 +0200 Subject: [PATCH] Fixed overwriting of meta tags --- wcfsetup/install/files/lib/system/MetaTagHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/MetaTagHandler.class.php b/wcfsetup/install/files/lib/system/MetaTagHandler.class.php index 29f5b168b3..60fff05b5a 100644 --- a/wcfsetup/install/files/lib/system/MetaTagHandler.class.php +++ b/wcfsetup/install/files/lib/system/MetaTagHandler.class.php @@ -66,7 +66,7 @@ class MetaTagHandler extends SingletonFactory implements \Countable, \Iterator { // replace description if Open Graph Protocol tag was given if ($name == 'og:description') { - $this->objects['description']['value'] = $value; + $this->addTag('description', 'description', $value); } } -- 2.20.1