From 174566acb3cf8c0b261c0e4c5ad38ab0aa72f789 Mon Sep 17 00:00:00 2001 From: "Jibon L. Costa" Date: Sat, 28 Sep 2024 13:16:30 +0200 Subject: [PATCH] fix --- classes/external/mod_plugnmeet_create_room.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/external/mod_plugnmeet_create_room.php b/classes/external/mod_plugnmeet_create_room.php index f81b48e..19d3171 100644 --- a/classes/external/mod_plugnmeet_create_room.php +++ b/classes/external/mod_plugnmeet_create_room.php @@ -94,7 +94,7 @@ public static function create_room($instanceid, $join, $isadmin) { $connect = new PlugNmeetConnect($config); try { - $logout_url = $PAGE->url->get_scheme() . "://".$PAGE->url->get_host() . "/mod/plugnmeet/view.php?id=" . $cm->id; + $logouturl = $PAGE->url->get_scheme() . "://".$PAGE->url->get_host() . "/mod/plugnmeet/view.php?id=" . $cm->id; $extradata = json_encode(array( "platform" => "moodle", "php-version" => phpversion(), @@ -111,7 +111,7 @@ public static function create_room($instanceid, $join, $isadmin) { "", $roommetadata, 0, - $logout_url, + $logouturl, $extradata); $result['status'] = $res->getStatus();