mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
fix typo in hook function
This commit is contained in:
parent
8a0073c39a
commit
0f1a0bece5
|
@ -286,7 +286,7 @@ for ($file_num=0;$file_num<count($_FILES["userfile"]["tmp_name"]);$file_num++){
|
|||
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['addDocument'])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['addDocument'] as $hookObj) {
|
||||
if (method_exists($hookObj, 'pretAddDocument')) {
|
||||
if (method_exists($hookObj, 'preAddDocument')) {
|
||||
$hookObj->preAddDocument(array('name'=>&$name, 'comment'=>&$comment));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user