From 33a42f24646713c8bed921ec70cd2ddf40883b6b Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 18 Jan 2022 14:26:08 -0700 Subject: [PATCH] Calendar: Fix status notification sometimes had wrong user in $$fullname$$ placeholder --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 323b149c43..7b990d9ff7 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1069,7 +1069,7 @@ class calendar_boupdate extends calendar_bo $event_arr = null; $details = $this->_get_event_details(isset($cleared_event) ? $cleared_event : $event, $action, $event_arr, $disinvited); - $details['fullname'] = is_numeric($userid) ? Api\Accounts::username($userid) : $fullname; + $details['fullname'] = is_numeric($user) ? Api\Accounts::username($user) : $fullname; $details['to-fullname'] = $fullname; $details['to-firstname'] = isset($tfn)? $tfn: ''; $details['to-lastname'] = isset($tln)? $tln: '';