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

fixes #673

parent 9041f76d
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class ConsultationMailer ...@@ -30,7 +30,7 @@ class ConsultationMailer
* @param string $reason Reason for a booking or cancelation * @param string $reason Reason for a booking or cancelation
* @param User $sender Sender of the message * @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 // Don't send message if user doesn't want it
if (!UserConfig::get($user->id)->CONSULTATION_SEND_MESSAGES) { 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