mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Typo in a (not yet used) function !
SVN:trunk[1565]
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user