From f0d87adc87972b248b31630c3fffc09ceade7700 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 31 Aug 2012 13:28:51 +0000 Subject: [PATCH] Bug fix: Support edition of the "latest modified" entry of a case log SVN:trunk[2161] --- core/ormcaselog.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--)