r49052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49051‎ | r49052 | r49053 >
Date:00:24, 31 March 2009
Author:aaron
Status:ok
Tags:
Comment:
type safety
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php
@@ -922,7 +922,7 @@
923923 return array( 'select' => $select, 'override' => $override,
924924 'autoreview' => '', 'expiry' => 'infinity' );
925925 }
926 - return array('select' => $row->fpc_select, 'override' => $row->fpc_override,
 926+ return array('select' => intval($row->fpc_select), 'override' => $row->fpc_override,
927927 'autoreview' => $row->fpc_level, 'expiry' => $row->fpc_expiry );
928928 }
929929

Status & tagging log