1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Merge pull request #4734 from Jimmi08/login-error-message-is-loaded-2x

Fixes #3470 login error message is loaded 2x
This commit is contained in:
Cameron 2022-04-01 11:03:38 -07:00 committed by GitHub
commit dbde19e872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,10 @@ if (!USER || getperms('0'))
$login_message = SITENAME; // $login_message = LAN_LOGIN_3." | ".SITENAME;
if(strpos($LOGIN_TABLE_HEADER,'LOGIN_TABLE_LOGINMESSAGE') === false && strpos($LOGIN_TABLE,'LOGIN_TABLE_LOGINMESSAGE') === false)
{
echo LOGINMESSAGE;
if(deftrue('e_IFRAME'))
{
echo LOGINMESSAGE;
}
}
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);