1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

#3470 login error message is loaded 2x

CLOSES #3470
This commit is contained in:
Jimmi08 2022-03-31 12:48:35 +02:00
parent 21fa07ec3b
commit c431a677fe

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