r109880 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109879‎ | r109880 | r109881 >
Date:00:25, 24 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
spacing fix
Modified paths:
  • /trunk/phase3/includes/Pager.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Pager.php
@@ -782,11 +782,11 @@
783783 }
784784
785785 function getDateCond( $year, $month ) {
786 - $year = intval($year);
787 - $month = intval($month);
 786+ $year = intval( $year );
 787+ $month = intval( $month );
788788 // Basic validity checks
789789 $this->mYear = $year > 0 ? $year : false;
790 - $this->mMonth = ($month > 0 && $month < 13) ? $month : false;
 790+ $this->mMonth = ( $month > 0 && $month < 13 ) ? $month : false;
791791 // Given an optional year and month, we need to generate a timestamp
792792 // to use as "WHERE rev_timestamp <= result"
793793 // Examples: year = 2006 equals < 20070101 (+000000)

Status & tagging log