Fixed bug #13100: Scheduler: Undefined enableBELog configuration option causes warnings
authorFrancois Suter <francois.suter@typo3.org>
Sat, 26 Dec 2009 20:27:02 +0000 (20:27 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Sat, 26 Dec 2009 20:27:02 +0000 (20:27 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6701 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/scheduler/class.tx_scheduler.php

index 343afe9..76b8784 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-26  Francois Suter  <francois@typo3.org>
+
+       * Fixed bug #13100: Scheduler: Undefined enableBELog configuration option causes warnings
+
 2009-12-26  Benjamin Mack  <benni@typo3.org>
 
        * Fixed bug #12807: Bug: CSS issues with buttons (Recycler / File Mass Uploader) (Thanks to Andreas Kundoch and Helmut Hummel)
index f416fc4..039875d 100755 (executable)
@@ -406,7 +406,7 @@ class tx_scheduler implements t3lib_Singleton {
         */
        public function log($message, $status = 0, $code = 'scheduler') {
                        // Log only if enabled
-               if ($this->extConf['enableBELog']) {
+               if (!empty($this->extConf['enableBELog'])) {
                        $GLOBALS['BE_USER']->writelog(
                                4,
                                0,