Some messages have the origin in the middle of the message - change strpos to strrpos
This commit is contained in:
@@ -701,7 +701,7 @@ class Message extends FTNBase
|
||||
}
|
||||
|
||||
// Anything after the origin line is also kludge data.
|
||||
if ($originpos = strpos($kl,"\r * Origin: ")) {
|
||||
if ($originpos = strrpos($kl,"\r * Origin: ")) {
|
||||
if (! $this->message) {
|
||||
$this->message .= substr($kl,$retpos+1,$originpos-$retpos-1);
|
||||
$this->parseOrigin(substr($kl,$originpos+1));
|
||||
|
Reference in New Issue
Block a user