Permalink
Browse files

fixed some undefined variables

  • Loading branch information...
1 parent 45f15b5 commit c8b59fc944b214e232efa5959a4ae7a54815ca6e bobopinna committed Dec 2, 2004
Showing with 4 additions and 4 deletions.
  1. +3 −1 mod/scorm/playscorm.php
  2. +1 −3 mod/scorm/report.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"])))
@@ -1,6 +1,6 @@
<?PHP // $Id$
-// This script uses installed report plugins to print quiz reports
+// This script uses installed report plugins to print SCORM reports
require_once("../../config.php");
require_once("lib.php");
@@ -110,6 +110,4 @@
if (empty($noheader)) {
print_footer($course);
}
-
-
?>

0 comments on commit c8b59fc

Please sign in to comment.