Skip to content

Commit

Permalink
Skill: Add additional message when finished assigning a skill - refs …
Browse files Browse the repository at this point in the history
…BT#19401
  • Loading branch information
AngelFQC committed Dec 2, 2021
1 parent 4fed1e1 commit 1009ee9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main/badge/assign.php
Expand Up @@ -352,6 +352,17 @@
)
);

Display::addFlash(
Display::return_message(
sprintf(
get_lang('ToAssignNewSkillToUserClickLinkX'),
api_get_self().'?'.http_build_query(['user' => $user->getId()])
),
'info',
false
)
);

header('Location: '.api_get_path(WEB_PATH)."badge/{$skillUser->getId()}");
exit;
}
Expand Down

0 comments on commit 1009ee9

Please sign in to comment.