fixed some undefined variables

This commit is contained in:
bobopinna
2004-12-02 17:24:36 +00:00
parent 45f15b5c94
commit c8b59fc944
2 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -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 -3
View File
@@ -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);
}
?>