Skip to content

Commit 92e7d41

Browse files
committed
Webservice: Add update_session_from_extra_field WS - fix typo - refs BT#22302
1 parent 09fb91d commit 92e7d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/webservices/Rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4617,7 +4617,7 @@ public function updateSessionFromExtraField($params)
46174617

46184618
// Get coach ID if we got it as username
46194619
if (!empty($params['coach_username'])) {
4620-
$param['id_coach'] = UserManager::get_user_id_from_username($params['coach_username']);
4620+
$params['id_coach'] = UserManager::get_user_id_from_username($params['coach_username']);
46214621
}
46224622
// Delegate to existing updateSession() method (mirrors its logic)
46234623
$result = $this->updateSession($params);

0 commit comments

Comments
 (0)