[AMOS commit] MDL-25375 - mod/feedback/complete.php throws exception if email notifications are enabled