fixed some undefined variables
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user