diff --git a/op/op.Ajax.php b/op/op.Ajax.php index 9bd97ff4a..b466f1b7e 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -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,