Bug fix: Support edition of the "latest modified" entry of a case log

SVN:trunk[2161]
This commit is contained in:
Denis Flaven
2012-08-31 13:28:51 +00:00
parent bc557f6e42
commit f0d87adc87

View File

@@ -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--)