[evolvis-commits] r18336: small-fixes pending merges:↵ Thorsten Glaser 2012-04-12 comparison fix for ternary operator chaining
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Apr 12 10:42:18 CEST 2012
Author: mirabilos
Date: 2012-04-12 10:42:17 +0200 (Thu, 12 Apr 2012)
New Revision: 18336
Modified:
trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php
Log:
small-fixes pending merges:
Thorsten Glaser 2012-04-12 comparison fix for ternary operator chaining
Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php 2012-04-12 08:42:14 UTC (rev 18335)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/Group.class.php 2012-04-12 08:42:17 UTC (rev 18336)
@@ -3263,7 +3263,7 @@
case 'id':
$aid = $a->getID() ;
$bid = $b->getID() ;
- $res = ($a == $b) ? 0 : ($a < $b) ? -1 : 1;
+ $res = ($a == $b) ? 0 : (($a < $b) ? -1 : 1);
break ;
}
return ($this->reverse ? -$res : $res);
More information about the evolvis-commits
mailing list