Don't output an empty h1 element (once more, with feeling)
Bug: T103077 Change-Id: I1a6944bb3da465a1cdcd1ce12aecfd19f4865ec9
This commit is contained in:
parent
f2846c51df
commit
767349cbb4
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ class MonoBookTemplate extends BaseTemplate {
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo $this->getIndicators();
|
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
|
<h1 id="firstHeading" class="firstHeading" lang="<?php
|
||||||
$this->data['pageLanguage'] =
|
$this->data['pageLanguage'] =
|
||||||
|
|
Loading…
Reference in a new issue