mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Fix issue processwire/processwire-issues#1273
This commit is contained in:
@@ -156,7 +156,7 @@ abstract class AdminThemeFramework extends AdminTheme {
|
||||
public function getHeadline() {
|
||||
$headline = $this->wire('processHeadline');
|
||||
if(!$headline) $headline = $this->wire('page')->get('title|name');
|
||||
if($this->wire('languages')) $headline = $this->_($headline);
|
||||
if($headline !== 'en' && $this->wire('languages')) $headline = $this->_($headline);
|
||||
return $this->sanitizer->entities1($headline);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user