mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +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'])) {
|
if(isset($GLOBALS['SEEDDMS_HOOKS']['addDocument'])) {
|
||||||
foreach($GLOBALS['SEEDDMS_HOOKS']['addDocument'] as $hookObj) {
|
foreach($GLOBALS['SEEDDMS_HOOKS']['addDocument'] as $hookObj) {
|
||||||
if (method_exists($hookObj, 'pretAddDocument')) {
|
if (method_exists($hookObj, 'preAddDocument')) {
|
||||||
$hookObj->preAddDocument(array('name'=>&$name, 'comment'=>&$comment));
|
$hookObj->preAddDocument(array('name'=>&$name, 'comment'=>&$comment));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user