Commit cb953267 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Fix undefined index

parent bcf542c7
......@@ -263,7 +263,7 @@ abstract class LevelAgreement extends CommonDBChild {
echo "<i class='fa fa-clock-o slt'></i>";
echo Dropdown::getDropdownName(static::getTable(),
$comment = $this->fields['comment'];
$comment = isset($this->fields['comment']) ? $this->fields['comment'] : '';
$level = new static::$levelclass();
$nextaction = new static::$levelticketclass();
if ($nextaction->getFromDBForTicket($ticket->fields["id"], $type)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment