~ubuntu-branches/ubuntu/oneiric/boinc/oneiric

« back to all changes in this revision

Viewing changes to html/user/bolt_sched.php

  • Committer: Bazaar Package Importer
  • Author(s): Steffen Moeller
  • Date: 2011-04-27 22:33:56 UTC
  • mfrom: (1.1.18 upstream) (6.2.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110427223356-2jyajtfxd5htgwsd
Tags: 6.12.26+dfsg-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
    error_page("no such course");
366
366
}
367
367
$view_id = get_int('view_id', true);
368
 
$action = get_str('action', true);
 
368
$action = sanitize_tags(get_str('action', true));
369
369
$course_doc = require_once($course->doc_file());
370
370
 
371
371
switch ($action) {
563
563
        echo "NO XSET"; exit;
564
564
    }
565
565
    $xset = $iter->xset;
566
 
    $unit_name = get_str('unit_name');
 
566
    $unit_name = sanitize_tags(get_str('unit_name'));
567
567
    $found = $xset->start_review($iter, $unit_name);
568
568
    if (!$found) {
569
569
        echo "REVIEW UNIT MISSING"; exit;