plugins/filesystem_attachments/filesystem_attachments.php
@@ -60,7 +60,7 @@ $args['id'] = $this->file_id(); $args['path'] = $tmpfname; $args['status'] = true; @chmod($tmpfname, 0600); // set correct permissions (#148899) @chmod($tmpfname, 0600); // set correct permissions (#1488996) // Note the file for later cleanup $_SESSION['plugins']['filesystem_attachments'][$group][] = $tmpfname;