Fix moving posted article to spool file when using tradspool.

This commit is contained in:
Retro_Guy 2023-12-19 04:35:03 -07:00
parent e40bc37e06
commit 6efcbc1de0
1 changed files with 2 additions and 1 deletions

View File

@ -1117,7 +1117,8 @@ function insert_article($section, $nntp_group, $filename, $subject_i, $from_i, $
if ($CONFIG['article_database'] !== '1') {
$path = $spooldir . "/articles/";
$grouppath = $path . preg_replace('/\./', '/', $nntp_group);
$tradspool_out_file = fopen($grouppath . "/" . $local, 'w+');
$tradspool_out_file = $grouppath . "/" . $local;
// $tradspool_out_file = fopen($grouppath . "/" . $local, 'w+');
if (! is_dir($grouppath)) {
mkdir($grouppath, 0755, true);
}