diff --git a/main/auth/inscription.php b/main/auth/inscription.php index ef5dbacfc6..be2f20c0c0 100755 --- a/main/auth/inscription.php +++ b/main/auth/inscription.php @@ -81,7 +81,9 @@ if (file_exists($home.'register_top_'.$user_selected_language.'.html')) { $home_top_temp = @(string)file_get_contents($home.'register_top_'.$user_selected_language.'.html'); $open = str_replace('{rel_path}', api_get_path(REL_PATH), $home_top_temp); $open = api_to_system_encoding($open, api_detect_encoding(strip_tags($open))); - echo '
'.$open.'
'; + if (!empty($open)) { + echo '
'.$open.'
'; + } } // Forbidden to self-register