git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1565 a333f486-631f-4898-b8df-5754b55c2be0
@@ -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');