Passed
Push — develop-3.3.x ( 99036f...8e65b3 )
by Mario
02:49
created
controller/main_donor_list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 			$sort_key = $default_key;
71 71
 		}
72 72
 
73
-		$order_by = ($sort_key === 'a' ? $sort_key_sql[$sort_key] . ' ': 'MAX(' . $sort_key_sql[$sort_key] . ') ') . (($sort_dir === 'a') ? 'ASC' : 'DESC');
73
+		$order_by = ($sort_key === 'a' ? $sort_key_sql[$sort_key] . ' ' : 'MAX(' . $sort_key_sql[$sort_key] . ') ') . (($sort_dir === 'a') ? 'ASC' : 'DESC');
74 74
 
75 75
 		// Build a relevant pagination_url and sort_url.
76 76
 		// We do not use request_var() here directly to save some calls (not all variables are set)
Please login to merge, or discard this patch.