Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -710,8 +710,8 @@ |
711 | 711 | $url .= $query; |
712 | 712 | } |
713 | 713 | |
714 | | - if( isset( $this->mExtra['oldSize'] ) && isset( $this->mExtra['newSize'] ) ) { |
715 | | - $szdiff = $this->mExtra['newSize'] - $this->mExtra['oldSize']; |
| 714 | + if( $this->mAttribs['rc_old_len'] !== null && $this->mAttribs['rc_new_len'] !== null ) { |
| 715 | + $szdiff = $this->mAttribs['rc_new_len'] - $this->mAttribs['rc_old_len']; |
716 | 716 | if($szdiff < -500) { |
717 | 717 | $szdiff = "\002$szdiff\002"; |
718 | 718 | } elseif($szdiff >= 0) { |