Fix missing legal link render because of custom pages BT#17190

pull/3235/head
Julio Montoya 6 years ago
parent 6ce24499f7
commit 4af43f9b3b
  1. 6
      main/auth/inscription.php

@ -1,12 +1,11 @@
<?php
/* For licensing terms, see /license.txt */
use ChamiloSession as Session;
/**
* This script displays a form for registering new users.
*
* @package chamilo.auth
*/
//quick hack to adapt the registration form result to the selected registration language
@ -445,7 +444,6 @@ $content = null;
$tool_name = get_lang('Registration');
if (!CustomPages::enabled()) {
// Load terms & conditions from the current lang
if (api_get_setting('allow_terms_conditions') === 'true') {
$get = array_keys($_GET);
@ -481,7 +479,7 @@ if (!CustomPages::enabled()) {
if (api_get_setting('allow_terms_conditions') === 'true' && $user_already_registered_show_terms) {
$tool_name = get_lang('TermsAndConditions');
}
}
$home = api_get_path(SYS_APP_PATH).'home/';
if (api_is_multiple_url_enabled()) {

Loading…
Cancel
Save