spacing fix
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 24 Jan 2012 00:25:00 +0000 (00:25 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 24 Jan 2012 00:25:00 +0000 (00:25 +0000)
includes/Pager.php

index a03a1d1..7945587 100644 (file)
@@ -782,11 +782,11 @@ abstract class ReverseChronologicalPager extends IndexPager {
        }
 
        function getDateCond( $year, $month ) {
-               $year = intval($year);
-               $month = intval($month);
+               $year = intval( $year );
+               $month = intval( $month );
                // Basic validity checks
                $this->mYear = $year > 0 ? $year : false;
-               $this->mMonth = ($month > 0 && $month < 13) ? $month : false;
+               $this->mMonth = ( $month > 0 && $month < 13 ) ? $month : false;
                // Given an optional year and month, we need to generate a timestamp
                // to use as "WHERE rev_timestamp <= result"
                // Examples: year = 2006 equals < 20070101 (+000000)