Silence errors in lines 496 and 498 in NNTP.php.

This commit is contained in:
Darko
2015-07-13 13:50:39 +02:00
parent 7f4c345fd6
commit 839eb4bb9d
+2 -2
View File
@@ -493,9 +493,9 @@ class NNTP extends Net_NNTP_Client
foreach ($overview as $name => $element) {
// Strip Xref:
if ($element === true) {
$header[$iterator] = substr($header[$iterator], 6);
@$header[$iterator] = substr($header[$iterator], 6);
}
$headerArray[$name] = $header[$iterator++];
@$headerArray[$name] = $header[$iterator++];
}
// Add the individual header array back to the return array.
$data[$key] = $headerArray;