Index: trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php |
— | — | @@ -475,10 +475,10 @@ |
476 | 476 | $svgPath = $this->getFilePath( $tag, 'svg' ); |
477 | 477 | $fp = @fopen( $svgPath, 'w' ); |
478 | 478 | @fwrite( $fp, $plot->svg ); |
479 | | - @fclose( $fp ); |
480 | 479 | // Rasterize due to IE suckage |
481 | 480 | $svgHandler = new SvgHandler(); |
482 | 481 | $status = $svgHandler->rasterize( $svgPath, $filePath, 1000, 410 ); |
| 482 | + @fclose( $fp ); |
483 | 483 | if( $status !== true ) { |
484 | 484 | return false; |
485 | 485 | } |