mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +00:00
check if $recipients is set
This commit is contained in:
parent
b44a368d6d
commit
9a8b13a1cc
|
@ -124,6 +124,7 @@ class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common {
|
||||||
}
|
}
|
||||||
|
|
||||||
$lc = $document->getLatestContent();
|
$lc = $document->getLatestContent();
|
||||||
|
if($recipients) {
|
||||||
if($recipients['i']) {
|
if($recipients['i']) {
|
||||||
foreach($recipients['i'] as $uid) {
|
foreach($recipients['i'] as $uid) {
|
||||||
if($u = $dms->getUser($uid)) {
|
if($u = $dms->getUser($uid)) {
|
||||||
|
@ -138,6 +139,7 @@ class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if($index) {
|
if($index) {
|
||||||
$idoc = new $indexconf['IndexedDocument']($dms, $document, isset($settings->_converters['fulltext']) ? $settings->_converters['fulltext'] : null, !($filesize < $settings->_maxSizeForFullText));
|
$idoc = new $indexconf['IndexedDocument']($dms, $document, isset($settings->_converters['fulltext']) ? $settings->_converters['fulltext'] : null, !($filesize < $settings->_maxSizeForFullText));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user