diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 34b15e2ac..2da76881b 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -1417,7 +1417,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { $msg = getMLText('timeline_'.$item['type'], array('document'=>$item['document']->getName(), 'version'=> $item['version'], 'status'=> getOverallStatusText($item['status']))); break; default: - $msg = '???'; + $msg = $this->callHook('getTimelineMsg', $document, $item); + if(!is_string($msg)) + $msg = '???'; } $item['msg'] = $msg; }