Skip to content
Snippets Groups Projects
Commit 68850bf9 authored by Lea's avatar Lea
Browse files

correction career enrol

parent 5d13bbde
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ else { ...@@ -62,7 +62,7 @@ else {
} }
if (isset($_POST['action'])) { if (isset($_POST['action'])) {
if($_POST['action']=='Ne plus suivre ce parcours'&&!empty($request)){ if($_POST['action']==get_string('unfollow','block_career')&&!empty($request)){
$follow=get_string('follow','block_career'); $follow=get_string('follow','block_career');
$requete=$DB->execute("DELETE FROM {groups_members} WHERE userid = ? AND groupid", array($USER->id,$request->id)); $requete=$DB->execute("DELETE FROM {groups_members} WHERE userid = ? AND groupid", array($USER->id,$request->id));
}else{ }else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment