From c8b59fc944b214e232efa5959a4ae7a54815ca6e Mon Sep 17 00:00:00 2001 From: bobopinna Date: Thu, 2 Dec 2004 17:24:36 +0000 Subject: [PATCH] fixed some undefined variables --- mod/scorm/playscorm.php | 4 +++- mod/scorm/report.php | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/scorm/playscorm.php b/mod/scorm/playscorm.php index af37a9b6000..f4d33e6e5f6 100755 --- a/mod/scorm/playscorm.php +++ b/mod/scorm/playscorm.php @@ -55,12 +55,14 @@ update_module_button($cm->id, $course->id, $strscorm), navmenu($course, $cm)); notice(get_string("activityiscurrentlyhidden")); } - + $scoid=''; if (!empty($_POST["scoid"])) $scoid = "&scoid=".$_POST["scoid"]; + $currentorg=''; if (!empty($_POST['currentorg'])) { $currentorg = $_POST['currentorg']; } + $mode = ''; if (($scorm->popup != "") && (!empty($_POST["mode"]))) $mode = $_POST["mode"]; if (($scorm->popup == "") && (!empty($_GET["mode"]))) diff --git a/mod/scorm/report.php b/mod/scorm/report.php index 85072f04634..d2d796a8f68 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -1,6 +1,6 @@