Verify overview exists before reading for XOVER in rslight-lib.php.
This commit is contained in:
parent
8cb989a440
commit
09deebae1a
|
@ -658,6 +658,7 @@ function get_xover($articles, $msgsock) {
|
|||
}
|
||||
}
|
||||
fwrite($msgsock, $output, strlen($output));
|
||||
if(file_exists($overviewfile)) {
|
||||
$overviewfp=fopen($overviewfile, 'r');
|
||||
while($overviewline=fgets($overviewfp)) {
|
||||
$article=preg_split("/[\s,]+/", $overviewline);
|
||||
|
@ -669,6 +670,7 @@ function get_xover($articles, $msgsock) {
|
|||
}
|
||||
}
|
||||
fclose($overviewfp);
|
||||
}
|
||||
$msg.=".\r\n";
|
||||
return $msg;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue