Fix php error

This commit is contained in:
alistair3149 2020-01-06 21:15:24 -05:00
parent a9c3e500a9
commit 8380d27ffa
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -329,13 +329,11 @@ class CitizenTemplate extends BaseTemplate {
* @return string html
*/
protected function getLogo() {
$siteTitle = $language->convert( $this->getMsg( 'sitetitle' )->escaped() );
$html = Html::rawElement( 'a', [
'href' => $this->data['nav_urls']['mainpage']['href'],
'id' => 'p-logo',
'class' => 'mw-wiki-logo',
'title' => $siteTitle,
] );
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
return $html;
}