[BUGFIX] New Scheduler Task are executed now
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Classes / Task / AbstractTask.php
index ed23427..14dc00e 100644 (file)
@@ -350,7 +350,7 @@ abstract class AbstractTask {
                );
                $res = $GLOBALS['TYPO3_DB']->exec_SELECT_queryArray($queryArr);
                if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
-                       if ($row['serialized_executions'] !== '') {
+                       if (!empty($row['serialized_executions'])) {
                                $isRunning = TRUE;
                        }
                }