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();