mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
pass $document not $folder to hook addDocumentContentAttributes
This commit is contained in:
parent
88ed21488c
commit
2a5a5b2053
|
@ -290,7 +290,7 @@ console.log(element);
|
|||
}
|
||||
}
|
||||
}
|
||||
$arrs = $this->callHook('addDocumentContentAttributes', $folder);
|
||||
$arrs = $this->callHook('addDocumentContentAttributes', $document);
|
||||
if(is_array($arrs)) {
|
||||
foreach($arrs as $arr) {
|
||||
$this->formField($arr[0], $arr[1]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user