我的首頁 / ► 網站管理 / ► 安全 / ► 網站政策 強制用戶要登入後,才能檢視個人資料(預設:是) [root@moodle html]# diff -urNwbBE moodle/user/edit_form.php moodle23/user/edit_form.php --- moodle/user/edit_form.php 2012-07-06 08:44:31.000000000 +0800 +++ moodle23/user/edit_form.php 2013-11-19 20:56:32.000000000 +0800 @@ -77,7 +77,8 @@ if ($user = $DB->get_record('user', array('id'=>$userid))) { // remove description - if (empty($user->description) && !empty($CFG->profilesforenrolledusersonly) && !$DB->record_exists('role_assignments', array('userid'=>$userid))) { + if (!empty($CFG->profilesforenrolledusersonly)){// && !$DB->record_exists('role_assignments', array('userid'=>$userid))) { //dywang $mform->removeElement('description_editor'); }