Fixed  Error upon liking a post made by a deleted user.


Active member
If a user is deleted (users posts show up as guest then) there is still a like link in their posts. If this is clicked the following error is given:

Argument 1 passed to XenForo_Model_Alert::userReceivesAlert() must be an array, boolean given, called in /home/site/ on line 206 and defined
  1. XenForo_Application::handlePhpError() in XenForo/Model/Alert.php at line 499
  2. XenForo_Model_Alert::userReceivesAlert() in XenForo/Model/Like.php at line 206
  3. XenForo_Model_Like->likeContent() in XenForo/ControllerPublic/Post.php at line 314
  4. XenForo_ControllerPublic_Post->actionLike() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /home/site/ at line 15