diff --git a/core/ormcaselog.class.inc.php b/core/ormcaselog.class.inc.php index 3c2ea8730..0824f310a 100644 --- a/core/ormcaselog.class.inc.php +++ b/core/ormcaselog.class.inc.php @@ -68,7 +68,7 @@ class ormCaseLog { if (($bEditMode) && (count($aIndex) > 0) && $this->m_bModified) { // Don't display the first element, that is still considered as editable - $iPos = $aIndex[0]['separator_length'] + $aIndex[0]['separator_length']; + $iPos = $aIndex[0]['separator_length'] + $aIndex[0]['text_length']; array_shift($aIndex); } for($index=count($aIndex)-1 ; $index >= 0 ; $index--)