Fix duplicate data in snippets in rslight-lib.php.
This commit is contained in:
parent
27114f5b90
commit
2dc4245b54
|
@ -420,9 +420,6 @@ function process_post($message, $group) {
|
||||||
$is_header=0;
|
$is_header=0;
|
||||||
$lines++;
|
$lines++;
|
||||||
}
|
}
|
||||||
if($is_header == 0) {
|
|
||||||
$body.=$line."\n";
|
|
||||||
}
|
|
||||||
if(stripos($line, "Newsgroups: ") === 0 && $is_header == 1) {
|
if(stripos($line, "Newsgroups: ") === 0 && $is_header == 1) {
|
||||||
fputs($postfilehandle, "Newsgroups: ".$newsgroups."\r\n");
|
fputs($postfilehandle, "Newsgroups: ".$newsgroups."\r\n");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue