Skip to content
Snippets Groups Projects
Commit 79c13cfa authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #673

parent 12c23fa0
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class ConsultationMailer
* @param string $reason Reason for a booking or cancelation
* @param User $sender Sender of the message
*/
public static function sendMessage(?User $sender, User $user, ConsultationBooking $booking, string $subject, string $reason = '')
public static function sendMessage(?User $sender, User $user, ConsultationBooking $booking, string $subject, ?string $reason = '')
{
// Don't send message if user doesn't want it
if (!UserConfig::get($user->id)->CONSULTATION_SEND_MESSAGES) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment