Browse Source

fixed bug

fixed bug when profile fields are switched off
SABERES_37_STABLE
Flottertotte 9 years ago
parent
commit
e0ba1e63a9
  1. 3
      lib.php
  2. 2
      version.php

3
lib.php

@ -103,8 +103,9 @@ class enrol_apply_plugin extends enrol_plugin {
//$res = $DB->update_record('user',$userInfoProfile);
}else{
profile_save_data($userInfo);
$res = $DB->update_record('user',$userInfo);
//$res = $DB->update_record('user',$userInfo);
}
$enrol = enrol_get_plugin('self');
$timestart = time();
if ($instance->enrolperiod) {

2
version.php

@ -18,7 +18,7 @@
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015071503;
$plugin->version = 2015071504;
$plugin->requires = 2011080100;
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'Course Enrol Apply Plugin Version 1.3.1 (build 2014091000)';

Loading…
Cancel
Save