File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
components/com_content/src/View Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ protected function _prepareDocument()
355355 if (!empty ($ this ->item ->page_title ))
356356 {
357357 $ this ->item ->title = $ this ->item ->title . ' - ' . $ this ->item ->page_title ;
358- $ this ->document -> setTitle (
358+ $ this ->setDocumentTitle (
359359 $ this ->item ->page_title . ' - ' . Text::sprintf ('PLG_CONTENT_PAGEBREAK_PAGE_NUM ' , $ this ->state ->get ('list.offset ' ) + 1 )
360360 );
361361 }
Original file line number Diff line number Diff line change @@ -175,8 +175,6 @@ public function display($tpl = null)
175175
176176 $ this ->setDocumentTitle ($ title );
177177
178- $ this ->document ->setTitle ($ title );
179-
180178 if ($ this ->category ->metadesc )
181179 {
182180 $ this ->document ->setDescription ($ this ->category ->metadesc );
You can’t perform that action at this time.
0 commit comments