Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -394,13 +394,15 @@ |
395 | 395 | if( !$this->firstExtOpened ) { |
396 | 396 | // Insert a spacing line |
397 | 397 | $out .= '<tr class="sv-space">' . Html::element( 'td', $opt ) . "</tr>\n"; |
| 398 | + $this->firstExtOpened = true; |
398 | 399 | } |
399 | | - $this->firstExtOpened = false; |
400 | 400 | |
401 | | - if( $name ) |
| 401 | + if( $name ) { |
402 | 402 | $opt['id'] = "sv-$name"; |
| 403 | + } |
403 | 404 | |
404 | 405 | $out .= "<tr>" . Xml::element( 'th', $opt, $text ) . "</tr>\n"; |
| 406 | + |
405 | 407 | return $out; |
406 | 408 | } |
407 | 409 | |