Skip to content

Commit

Permalink
Solved error_section on credentials_bulk
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyserver committed Jan 12, 2015
1 parent 59e9c8b commit 36cf9a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions moodle/local/rcommon/credentials_bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@
print_error('Unknown action '.$action);
}

$id = required_param('id', PARAM_INT);
$book = $DB->get_record('rcommon_books', array('id' => $id));

admin_externalpage_setup('marsupialcontent'.$book->publisherid);
echo $OUTPUT->header();

//key synchronization
echo $OUTPUT->heading(get_string('keymanager', 'local_rcommon'));
$referer = $CFG->wwwroot.'/local/rcommon/books.php?id='.$book->id;
$id = required_param('id', PARAM_INT);
$book = $DB->get_record('rcommon_books', array('id' => $id));

// print content
echo $OUTPUT->heading($book->name . ' (' . $book->isbn . ')',3);
Expand Down

0 comments on commit 36cf9a0

Please sign in to comment.