Fixed fatal error in class CmsPage
authorMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 12:40:00 +0000 (14:40 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 12:40:09 +0000 (14:40 +0200)
wcfsetup/install/files/lib/page/CmsPage.class.php

index 743ad7b0ec4df821a135804b33c3af9a36aac584..003dfcb6ff528e510524f877256b2d6027491f86 100644 (file)
@@ -96,7 +96,7 @@ class CmsPage extends AbstractPage {
                        MetaTagHandler::getInstance()->addTag('og:description', 'og:description', $this->content->metaDescription, true);
                }
                if ($this->content->metaKeywords) {
-                       MetaTagHandler::getInstance()->addTag('keywords', 'keywords', $this->content['metaKeywords']);
+                       MetaTagHandler::getInstance()->addTag('keywords', 'keywords', $this->content->metaKeywords);
                }
        }