Permalink
Browse files

MDL-27523 Small Fixes

  • Loading branch information...
1 parent f8f34f8 commit 219f919c245a95a44805bac462b879b6eb45f960 @ankitagarwal ankitagarwal committed with danmarsden Jul 13, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 mod/scorm/report/basic/report.php
  2. +2 −2 mod/scorm/report/reportlib.php
@@ -16,7 +16,7 @@
/**
* Core Report class of basic reporting plugin
* @package scorm_basic
- * @author Ankit Kumar Agarwal
+ * @author Dan Marsden and Ankit Kumar Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -29,8 +29,8 @@ function scorm_report_list($context) {
if (!empty($reportlist)) {
return $reportlist;
}
- $reportdirs = get_plugin_list('scormreport');
- foreach ($reportdirs as $reportname => $notused) {
+ $installed = get_plugin_list('scormreport');
+ foreach ($installed as $reportname => $notused) {
$pluginfile = $CFG->dirroot.'/mod/scorm/report/'.$reportname.'/report.php';
if (is_readable($pluginfile)) {
include_once($pluginfile);

0 comments on commit 219f919

Please sign in to comment.