Use "==="
This commit is contained in:
parent
8894f14b4e
commit
fd562677fd
|
@ -2635,7 +2635,7 @@ class DFRN
|
|||
$header["contact-id"] = $importer["id"];
|
||||
$header["direction"] = $direction;
|
||||
|
||||
if ($direction == Conversation::RELAY) {
|
||||
if ($direction === Conversation::RELAY) {
|
||||
$header['post-type'] = Item::PT_RELAY;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue