Remove a redundant if and fix indentation accordingly. Fix is_array that should be an isset on the remote SPI field.
Remove a redundant if and fix indentation accordingly. Fix is_array that should be an isset on the remote SPI field.