Api: Fix "Unsupported operand types: array + bool" when infolog linked contact could not be read

This commit is contained in:
nathan 2021-10-22 09:39:24 -06:00
parent dddd0a2ee0
commit 1ecfe6fea5

View File

@ -1820,7 +1820,7 @@ abstract class Merge
// Don't break merge, just log it // Don't break merge, just log it
error_log($e->getMessage()); error_log($e->getMessage());
} }
return $replacements; return $replacements ?: [];
} }
/** /**