r2456 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r2455‎ | r2456 | r2457 >
Date:13:05, 8 February 2004
Author:magnus_manske
Status:old
Tags:
Comment:
hopefully fixing caption bug 892460
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -732,10 +732,13 @@
733733 foreach ( $after AS $theline )
734734 {
735735 $z = "" ;
736 - $tra = array_pop ( $ltr ) ;
737 - if ( !array_pop ( $tr ) ) $z = "<tr {$tra}>\n" ;
738 - array_push ( $tr , true ) ;
739 - array_push ( $ltr , "" ) ;
 736+ if ( $fc != "+" )
 737+ {
 738+ $tra = array_pop ( $ltr ) ;
 739+ if ( !array_pop ( $tr ) ) $z = "<tr {$tra}>\n" ;
 740+ array_push ( $tr , true ) ;
 741+ array_push ( $ltr , "" ) ;
 742+ }
740743
741744 $l = array_pop ( $ltd ) ;
742745 if ( array_pop ( $td ) ) $z = "</{$l}>" . $z ;

Status & tagging log