From: Jeroen De Dauw Date: Sun, 8 Aug 2010 05:21:14 +0000 (+0000) Subject: Fixed minor logic error that caused layout issues X-Git-Tag: 1.31.0-rc.0~35628 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=fd7f8a817a4e7723df5524ae254b54658ce55941;p=lhc%2Fweb%2Fwiklou.git Fixed minor logic error that caused layout issues --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index fa8a162a2e..5f0d2d94ad 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -394,13 +394,15 @@ class SpecialVersion extends SpecialPage { if( !$this->firstExtOpened ) { // Insert a spacing line $out .= '' . Html::element( 'td', $opt ) . "\n"; + $this->firstExtOpened = true; } - $this->firstExtOpened = false; - if( $name ) + if( $name ) { $opt['id'] = "sv-$name"; + } $out .= "" . Xml::element( 'th', $opt, $text ) . "\n"; + return $out; }