From 5425fb3d791da1236648c8f011ea9241af5d4510 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 28 May 2024 11:40:25 +0800 Subject: [PATCH] MDL-81897 tool_mobile: Coding style fix --- admin/tool/mobile/launch.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/admin/tool/mobile/launch.php b/admin/tool/mobile/launch.php index 51145cf0f14..cbe9a97bf24 100644 --- a/admin/tool/mobile/launch.php +++ b/admin/tool/mobile/launch.php @@ -71,7 +71,10 @@ if (empty($service)) { // If the user is using the inapp (embedded) browser, we need to set the Secure and Partitioned attributes to the session cookie. if (\core_useragent::is_moodle_app()) { - \core\session\utility\cookie_helper::add_attributes_to_cookie_response_header('MoodleSession'.$CFG->sessioncookie, ['Secure', 'Partitioned']); + \core\session\utility\cookie_helper::add_attributes_to_cookie_response_header( + "MoodleSession{$CFG->sessioncookie}", + ['Secure', 'Partitioned'], + ); } require_login(0, false);