diff --git a/plugins/ktcore/KTDocumentViewlets.php b/plugins/ktcore/KTDocumentViewlets.php index 860cc7f..162a14d 100644 --- a/plugins/ktcore/KTDocumentViewlets.php +++ b/plugins/ktcore/KTDocumentViewlets.php @@ -96,7 +96,7 @@ class KTWorkflowViewlet extends KTDocumentViewlet { if($iCommentPosition>0) //if comment found { - $oLatestTransitionComment = substr($oLatestTransitionComment, $iCommentPosition+2, (strlen($oLatestTransitionComment)-$iCommentPosition)); + $oLatestTransitionComment = substr($oLatestTransitionComment, $iCommentPosition+1, (strlen($oLatestTransitionComment)-$iCommentPosition)); } else //if no comment found - i.e. first state in workflow {