Ver código fonte

Typo in a (not yet used) function !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1565 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 anos atrás
pai
commit
88bbd9df3b

+ 1 - 1
modules/itop-sla-computation/model.itop-sla-computation.php

@@ -134,7 +134,7 @@ class SLAComputationAddOnAPI
 	 */
 	public static function GetOpenDuration($oTicket, DateTime $oStartDate, DateTime $oEndDate)
 	{
-		return abs($oEndDate->format('U') - $oStartDate-format('U'));
+		return abs($oEndDate->format('U') - $oStartDate->format('U'));
 	}
 }
 SLAComputation::SelectModule('SLAComputationAddOnAPI');