mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Fix a regression (crash) when displaying deadline attributes.
SVN:trunk[4091]
This commit is contained in:
@@ -4077,7 +4077,7 @@ class AttributeDeadline extends AttributeDateTime
|
||||
if ($value !== null)
|
||||
{
|
||||
$iValue = AttributeDateTime::GetAsUnixSeconds($value);
|
||||
$sDate = AttributeDateTime::Format($value);
|
||||
$sDate = AttributeDateTime::GetFormat()->Format($value);
|
||||
$difference = $iValue - time();
|
||||
|
||||
if ($difference >= 0)
|
||||
|
||||
Reference in New Issue
Block a user