Fixed bug #15396: [scheduler] Wrong query - crashes with DBAL
authorXavier Perseguers <typo3@perseguers.ch>
Thu, 12 Aug 2010 11:45:16 +0000 (11:45 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Thu, 12 Aug 2010 11:45:16 +0000 (11:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8575 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/scheduler/mod1/index.php

index 215a1b5..eaf7ed3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-12  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Fixed bug #15396: [scheduler] Wrong query - crashes with DBAL
+
 2010-08-11  Steffen Gebert  <steffen@steffen-gebert.de>
 
        * Fixed bug #15375: showDomainNameWithTitle doesn't respect hidden records (Thanks to Henrik Ziegenhain)
index 5c2762d..8e5e320 100755 (executable)
@@ -957,6 +957,7 @@ class tx_scheduler_Module extends t3lib_SCbase {
                $query = array(
                        'SELECT'  => '*',
                        'FROM'    => 'tx_scheduler_task',
+                       'WHERE'   => '1=1',
                        'ORDERBY' => 'nextexecution'
                );