@ -124,9 +124,9 @@ function modify_filter($code) {
//'<ahref="../course_home/course_home.php?cidReq='.$code.'">'.Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a> '. // This is not the preferable way to go to the homepage.
'<ahref="course_list.php?delete_course='.$code.'"onclick="javascript: if (!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES))."'".'))returnfalse;">'.Display::return_icon('delete.gif', get_lang('Delete')).'</a>'.
if ($row[0] != $_user['user_id'] && !$user_is_anonymous) {
// you cannot lock yourself out otherwise you could disable all the accounts including your own => everybody is locked out and nobody can change it anymore.
if ($row[0] != $_user['user_id'] && !$user_is_anonymous) {
// you cannot lock yourself out otherwise you could disable all the accounts including your own => everybody is locked out and nobody can change it anymore.