git://git.furryclan.net
/
furrycat
/
race-o-matic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279eb28
)
Order by speed correctly.
author
CMDR furrycat
<elite@furrycat.net>
Tue, 26 Jan 2016 09:36:41 +0000
(
04:36
-0500)
committer
CMDR furrycat
<elite@furrycat.net>
Tue, 26 Jan 2016 09:36:41 +0000
(
04:36
-0500)
propel/build/classes/buckyball/Entry.php
patch
|
blob
|
history
diff --git
a/propel/build/classes/buckyball/Entry.php
b/propel/build/classes/buckyball/Entry.php
index
070ea7c
..
0987b11
100644
(file)
--- a/
propel/build/classes/buckyball/Entry.php
+++ b/
propel/build/classes/buckyball/Entry.php
@@
-30,13
+30,13
@@
class Entry extends BaseEntry
function ByFastestLap($a, $b) {
$A = $a->getFastestLap(); $B = $b->getFastestLap();
if ($A == $B) return 0;
- return $A < $B ?
-1 :
1;
+ return $A < $B ?
1 : -
1;
}
function ByAverageLap($a, $b) {
$A = $a->getAverageLap(); $B = $b->getAverageLap();
if ($A == $B) return 0;
- return $A < $B ?
-1 :
1;
+ return $A < $B ?
1 : -
1;
}
function getName() {