From: Marcel Werk Date: Tue, 28 Jun 2016 21:04:48 +0000 (+0200) Subject: Fixed overwriting of meta tags X-Git-Tag: 3.0.0_Beta_1~1322 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e222851ac4d7f9b26ea7580141ca1e6022705c14;p=GitHub%2FWoltLab%2FWCF.git Fixed overwriting of meta tags --- 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); } }