Skip to content

Commit add61f3

Browse files
author
Pedro Padron
committed
as reported by Rafal Nowak, $protocolVersion should always be a string, since floats when converted to strings will use the decimal separator defined by current locale. spamd will always expect a dot.
1 parent 563a5b8 commit add61f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SpamAssassin/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SpamAssassin_Client
2626

2727
protected $socketPath;
2828
protected $socket;
29-
protected $protocolVersion = 1.5;
29+
protected $protocolVersion = '1.5';
3030
protected $enableZlib;
3131

3232
/**
@@ -429,4 +429,4 @@ public function revoke($message)
429429
return $this->exec('TELL', $message, $additionalHeaders)->didSet;
430430
}
431431

432-
}
432+
}

0 commit comments

Comments
 (0)