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:
commit
dbde19e872
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user