Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/badges/criteria_settings.php

    r136 r1331  
    6666}
    6767
     68$urlparams = array('badgeid' => $badgeid, 'edit' => $edit, 'type' => $type, 'crit' => $crit);
    6869$PAGE->set_context($context);
    69 $PAGE->set_url('/badges/criteria_settings.php');
     70$PAGE->set_url('/badges/criteria_settings.php', $urlparams);
    7071$PAGE->set_heading($badge->name);
    7172$PAGE->set_title($badge->name);
     
    101102        $criteria_overall->save(array('agg' => BADGE_CRITERIA_AGGREGATION_ALL));
    102103    }
    103     $criteria->save($data);
     104    $criteria->save((array)$data);
    104105    $return->param('msg', $msg);
    105106    redirect($return);
Note: See TracChangeset for help on using the changeset viewer.