Don't output an empty h1 element (once more, with feeling)

Bug: T103077
Change-Id: I1a6944bb3da465a1cdcd1ce12aecfd19f4865ec9
This commit is contained in:
Bartosz Dziewoński 2015-06-25 13:51:46 +02:00
parent f2846c51df
commit 767349cbb4

View file

@ -57,7 +57,8 @@ class MonoBookTemplate extends BaseTemplate {
<?php
echo $this->getIndicators();
if ( isset( $this->data['title'] ) ) {
// Loose comparison with '!=' is intentional, to catch null and false too, but not '0'
if ( $this->data['title'] != '' ) {
?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] =