Slight change in checking the array per PHP Docs. This should fix if blank recipients prams.