diff --git a/main/user/subscribe_user.php b/main/user/subscribe_user.php
index 4ab3017592..2f249fed63 100644
--- a/main/user/subscribe_user.php
+++ b/main/user/subscribe_user.php
@@ -613,7 +613,7 @@ function email_filter($email) {
*/
function reg_filter($user_id) {
if(isset($_REQUEST['type']) && $_REQUEST['type']=='teacher') $type='teacher'; else $type='student';
- $result = ''.get_lang("reg").'';
+ $result = ''.get_lang("reg").'';
return $result;
}
diff --git a/main/user/user.php b/main/user/user.php
index a113b8a5ed..276457aa83 100644
--- a/main/user/user.php
+++ b/main/user/user.php
@@ -635,7 +635,7 @@ function modify_filter($user_id) {
if (api_get_setting('allow_user_course_subscription_by_course_admin') == 'true' or api_is_platform_admin()) {
// unregister
if ($user_id != $current_user_id) {
- $result .= ''.get_lang('Unreg').' ';
+ $result .= ''.get_lang('Unreg').' ';
} else {
//$result .= Display::return_icon('unsubscribe_course_na.png', get_lang('Unreg'),'',ICON_SIZE_SMALL).' ';
}
@@ -644,7 +644,7 @@ function modify_filter($user_id) {
//Show buttons for unsubscribe
if ($course_info['unsubscribe'] == 1) {
if ($user_id == $current_user_id) {
- $result .= ''.get_lang('Unreg').' ';
+ $result .= ''.get_lang('Unreg').' ';
}
}
}