Completed
Push — release-2.1 ( 284426...2ccfa4 )
by Michael
10:34 queued 03:02
created
Sources/Subs-Calendar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	$year_low = (int) substr($low_date, 0, 4);
34 34
 	$year_high = (int) substr($high_date, 0, 4);
35 35
 
36
-	if($smcFunc['db_title'] != "PostgreSQL") {
36
+	if ($smcFunc['db_title'] != "PostgreSQL") {
37 37
 		// Collect all of the birthdays for this month.  I know, it's a painful query.
38 38
 		$result = $smcFunc['db_query']('birthday_array', '
39 39
 			SELECT id_member, real_name, YEAR(birthdate) AS birth_year, birthdate
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
 				'year_low' => $year_low . '-%m-%d',
82 82
 				'year_high' => $year_high . '-%m-%d',
83 83
 				'year_low_low_date' => $low_date,
84
-				'year_low_high_date' => ($year_low == $year_high ? $high_date : $year_low .'-12-31'),
85
-				'year_high_low_date' => ($year_low == $year_high ? $low_date : $year_high .'-01-01'),
84
+				'year_low_high_date' => ($year_low == $year_high ? $high_date : $year_low . '-12-31'),
85
+				'year_high_low_date' => ($year_low == $year_high ? $low_date : $year_high . '-01-01'),
86 86
 				'year_high_high_date' => $high_date,
87 87
 			)
88 88
 		);
Please login to merge, or discard this patch.