propperly check for filesize when indexing document

This commit is contained in:
Uwe Steinmann 2016-12-06 20:21:14 +01:00
parent f30367126f
commit 1ea96a5db7

View File

@ -629,6 +629,7 @@ switch($command) {
$cats = array();
$filesize = SeedDMS_Core_File::fileSize($userfiletmp);
$res = $folder->addDocument($name, '', $expires, $user, '',
array(), $userfiletmp, basename($userfilename),
$fileType, $userfiletype, 0,