Code Duplication    Length = 5-5 lines in 2 locations

FrontendModule/presenters/BasePresenter.php 2 locations

@@ 116-120 (lines=5) @@
113
    private function setDefaultSeo()
114
    {
115
        $temp = $this->actualPage->getMetaKeywords();
116
        if (!empty($temp)) {
117
            $this->template->seoKeywords = $this->actualPage->getMetaKeywords();
118
        } else {
119
            $this->template->seoKeywords = $this->settings->get('Seo keywords', \WebCMS\Settings::SECTION_BASIC, 'text')->getValue();
120
        }
121
122
        $temp = $this->actualPage->getMetaDescription();
123
        if (!empty($temp)) {
@@ 123-127 (lines=5) @@
120
        }
121
122
        $temp = $this->actualPage->getMetaDescription();
123
        if (!empty($temp)) {
124
            $this->template->seoDescription = $this->actualPage->getMetaDescription();
125
        } else {
126
            $this->template->seoDescription = $this->settings->get('Seo description', \WebCMS\Settings::SECTION_BASIC, 'text')->getValue();
127
        }
128
129
        $temp = $this->actualPage->getMetaTitle();
130
        if (!empty($temp)) {