Permalink
Browse files

Merge branch 'm20_MDL-25794_sections_typo' of git://github.com/danmar…

…sden/moodle
  • Loading branch information...
2 parents 4bbcdce + 2e3c31b commit a3c896ae4d17aa7338457d164b91e8d88f09567a @stronk7 stronk7 committed Jan 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/scorm/locallib.php
View
4 mod/scorm/locallib.php
@@ -723,13 +723,13 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
if (empty($organization)) {
$organization = $scorm->launch;
}
- if ($orgs = $DB->get_records_select('scorm_scoes', 'scorm = ? AND '.
+ if ($orgs = $DB->get_records_select_menu('scorm_scoes', 'scorm = ? AND '.
$DB->sql_isempty('scorm_scoes', 'launch', false, true).' AND '.
$DB->sql_isempty('scorm_scoes', 'organization', false, false),
array($scorm->id),'id','id,title')) {
if (count($orgs) > 1) {
$select = new single_select(new moodle_url($action), 'organization', $orgs, $organization, null);
- $select->lable = get_string('organizations','scorm');
+ $select->label = get_string('organizations','scorm');
$select->class = 'scorm-center';
echo $OUTPUT->render($select);
}

0 comments on commit a3c896a

Please sign in to comment.