mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
#1026 CSV import of tickets with impact = '', issuing a Notice
SVN:trunk[3445]
This commit is contained in:
@@ -538,7 +538,11 @@
|
||||
3 => 3,
|
||||
),
|
||||
);
|
||||
$iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')];
|
||||
$iPriority = 1;
|
||||
if (isset($aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')]))
|
||||
{
|
||||
$iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')];
|
||||
}
|
||||
return $iPriority;
|
||||
}]]></code>
|
||||
</method>
|
||||
|
||||
@@ -1155,7 +1155,11 @@
|
||||
3 => 3,
|
||||
),
|
||||
);
|
||||
$iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')];
|
||||
$iPriority = 1;
|
||||
if (isset($aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')]))
|
||||
{
|
||||
$iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')];
|
||||
}
|
||||
return $iPriority;
|
||||
}]]></code>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user