r45519 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45518‎ | r45519 | r45520 >
Date:21:10, 7 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Type safety
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1299,7 +1299,7 @@
13001300 }
13011301
13021302 public static function checkDiffUrl( $titleObj, &$mOldid, &$mNewid, $old, $new ) {
1303 - if( $new == 'review' && isset($titleObj) ) {
 1303+ if( $new === 'review' && isset($titleObj) ) {
13041304 $frev = FlaggedRevision::newFromStable( $titleObj );
13051305 if( $frev ) {
13061306 $mOldid = $frev->getRevId(); // stable

Status & tagging log