mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
fix typo in varialbe passed to hook
This commit is contained in:
parent
588caf9fde
commit
3dcda5e4ca
|
@ -402,7 +402,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
$attributes = $latestContent->getAttributes();
|
$attributes = $latestContent->getAttributes();
|
||||||
if($attributes) {
|
if($attributes) {
|
||||||
foreach($attributes as $attribute) {
|
foreach($attributes as $attribute) {
|
||||||
$arr = $this->callHook('showDocumentContentAttribute', $latestcontent, $attribute);
|
$arr = $this->callHook('showDocumentContentAttribute', $latestContent, $attribute);
|
||||||
if(is_array($arr)) {
|
if(is_array($arr)) {
|
||||||
print "<li>".$arr[0].": ".$arr[1]."</li>\n";
|
print "<li>".$arr[0].": ".$arr[1]."</li>\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user