From 3dcda5e4caab345d9bea80b09cfc2f3c921ad99c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 15 Jul 2015 07:26:18 +0200 Subject: [PATCH] fix typo in varialbe passed to hook --- views/bootstrap/class.ViewDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {