1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-23 07:52:07 +02: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

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);