Index: trunk/phase3/includes/Pager.php |
— | — | @@ -782,11 +782,11 @@ |
783 | 783 | } |
784 | 784 | |
785 | 785 | function getDateCond( $year, $month ) { |
786 | | - $year = intval($year); |
787 | | - $month = intval($month); |
| 786 | + $year = intval( $year ); |
| 787 | + $month = intval( $month ); |
788 | 788 | // Basic validity checks |
789 | 789 | $this->mYear = $year > 0 ? $year : false; |
790 | | - $this->mMonth = ($month > 0 && $month < 13) ? $month : false; |
| 790 | + $this->mMonth = ( $month > 0 && $month < 13 ) ? $month : false; |
791 | 791 | // Given an optional year and month, we need to generate a timestamp |
792 | 792 | // to use as "WHERE rev_timestamp <= result" |
793 | 793 | // Examples: year = 2006 equals < 20070101 (+000000) |