diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 8f6d3a3ab..862d74fa6 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -402,7 +402,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { $attributes = $latestContent->getAttributes(); if($attributes) { foreach($attributes as $attribute) { - $arr = $this->callHook('showDocumentContentAttribute', $latestcontent, $attribute); + $arr = $this->callHook('showDocumentContentAttribute', $latestContent, $attribute); if(is_array($arr)) { print "
  • ".$arr[0].": ".$arr[1]."
  • \n"; } else {