Преглед изворни кода

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2161 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 12 година
родитељ
комит
dfc6458230
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      core/ormcaselog.class.inc.php

+ 1 - 1
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--)