Fixed bug #14626: Login refresh popup should not display news
authorBenni Mack <benni.mack@typo3.org>
Sat, 5 Jun 2010 13:19:27 +0000 (13:19 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sat, 5 Jun 2010 13:19:27 +0000 (13:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7809 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/index.php

index ed4704f..2e0e1d7 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2010-06-05  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #14626: Login refresh popup should not display news
        * Followup to #14387: Remove the feature "Enable extensions without review (basic security check)" from EM (Thanks to Helmut Hummel)
 
 2010-06-04  Steffen Kamper  <info@sk-typo3.de>
index ee6f90b..d602389 100644 (file)
@@ -561,7 +561,7 @@ class SC_index {
                $newsContent = '';
 
                        // Traverse news array IF there are records in it:
-               if (is_array($GLOBALS['TYPO3_CONF_VARS']['BE']['loginNews']) && count($GLOBALS['TYPO3_CONF_VARS']['BE']['loginNews'])) {
+               if (is_array($GLOBALS['TYPO3_CONF_VARS']['BE']['loginNews']) && count($GLOBALS['TYPO3_CONF_VARS']['BE']['loginNews']) && !t3lib_div::_GP('loginRefresh')) {
 
                                // get the main news template, and replace the subpart after looped through
                        $newsContent      = t3lib_parsehtml::getSubpart($GLOBALS['TBE_TEMPLATE']->moduleTemplate, '###LOGIN_NEWS###');