Fixed bug #13486: Wrong icon-state returned from 'getIcon' (thanks to Stephan Kellermayr)
authorXavier Perseguers <typo3@perseguers.ch>
Mon, 5 Apr 2010 15:47:22 +0000 (15:47 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Mon, 5 Apr 2010 15:47:22 +0000 (15:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7239 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_iconworks.php

index 1fc7749..0161acf 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-05  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Fixed bug #13486: Wrong icon-state returned from 'getIcon' (thanks to Stephan Kellermayr)
+
 2010-04-03  Francois Suter  <francois@typo3.org>
 
        * Cleanup #13869: Scheduler: editTasks() calls all registered tasks to edit just one
index f12c754..6c1ed9d 100644 (file)
@@ -190,6 +190,10 @@ final class t3lib_iconWorks        {
                        if ($enCols['starttime']) {
                                if ($GLOBALS['EXEC_TIME'] < intval($row[$enCols['starttime']])) {
                                        $timing = TRUE;
+                                               // ...And if "endtime" is NOT set:
+                                       if (intval($row[$enCols['endtime']]) == 0) {
+                                               $futuretiming = TRUE;
+                                       }
                                }
                        }
                                // If an "endtime" is set: