Use "==="

This commit is contained in:
Michael 2021-01-10 21:30:30 +00:00
parent 8894f14b4e
commit fd562677fd

View file

@ -2635,7 +2635,7 @@ class DFRN
$header["contact-id"] = $importer["id"]; $header["contact-id"] = $importer["id"];
$header["direction"] = $direction; $header["direction"] = $direction;
if ($direction == Conversation::RELAY) { if ($direction === Conversation::RELAY) {
$header['post-type'] = Item::PT_RELAY; $header['post-type'] = Item::PT_RELAY;
} }