mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 16:21:11 +00:00
Fix php error
This commit is contained in:
parent
a9c3e500a9
commit
8380d27ffa
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue