| @@ -103,9 +103,9 @@ | ||
| 103 | 103 | $week_begins = (int) get_option( 'start_of_week' ); |
| 104 | 104 | |
| 105 | 105 | // Let's figure out when we are. |
| 106 | 106 | if ( ! empty( $monthnum ) && ! empty( $year ) ) { |
| 107 | - $thismonth = zeroise( intval( $monthnum ), 2 ); | |
| 107 | + $thismonth = zeroise( (int) $monthnum, 2 ); | |
| 108 | 108 | $thisyear = (int) $year; |
| 109 | 109 | } elseif ( ! empty( $w ) ) { |
| 110 | 110 | // We need to get the month from MySQL. |
| 111 | 111 | $thisyear = (int) substr( $m, 0, 4 ); |