[Fusionforge-commits] r12473 - branches/Branch_5_1/src/common/tracker

Alain Peyrat aljeux at fusionforge.org
Tue Mar 1 21:21:30 CET 2011


Author: aljeux
Date: 2011-03-01 21:21:29 +0100 (Tue, 01 Mar 2011)
New Revision: 12473

Modified:
   branches/Branch_5_1/src/common/tracker/Artifact.class.php
Log:
Fix broken sort in tracker

Modified: branches/Branch_5_1/src/common/tracker/Artifact.class.php
===================================================================
--- branches/Branch_5_1/src/common/tracker/Artifact.class.php	2011-03-01 19:59:01 UTC (rev 12472)
+++ branches/Branch_5_1/src/common/tracker/Artifact.class.php	2011-03-01 20:21:29 UTC (rev 12473)
@@ -1793,7 +1793,7 @@
 		if ($aid == $bid) {
 			return 0;
 		}
-		return ($a < $b) ? -1 : 1;
+		return ($aid < $bid) ? -1 : 1;
 	}
 }
 




More information about the Fusionforge-commits mailing list