From 33a9aa20b396159c37836bfcf6dce7b298d81416 Mon Sep 17 00:00:00 2001 From: Miguel C Date: Mon, 13 Feb 2017 12:25:50 +0100 Subject: [PATCH] New feature, button changed , the button goes to last page and not to home page. --- main/inc/lib/api.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/api.lib.php b/main/inc/lib/api.lib.php index 613900d20e..c387aac445 100644 --- a/main/inc/lib/api.lib.php +++ b/main/inc/lib/api.lib.php @@ -3231,7 +3231,7 @@ function api_not_allowed($print_headers = false, $message = null) $msg = $message; } else { $msg = Display::return_message( - get_lang('NotAllowedClickBack').'

'.get_lang('ReturnToCourseHomepage').'', + get_lang('NotAllowedClickBack').'

', 'error', false );