Fixed bug #8182: Fatal error on calling sysLog() of lock object if locking method...
authorOliver Hader <oliver.hader@typo3.org>
Tue, 22 Apr 2008 15:10:59 +0000 (15:10 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 22 Apr 2008 15:10:59 +0000 (15:10 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3604 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index a4c8163..13dd76f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-22  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #8182: Fatal error on calling sysLog() of lock object if locking method is unknown
+
 2008-04-22  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #8174: Clear all caches should clear configuration cache as well (thanks to Steffen Kamper)
index 2c9d48d..34fa556 100755 (executable)
@@ -2801,7 +2801,7 @@ require_once (PATH_t3lib.'class.t3lib_lock.php');
                                }
                        }
                } catch (Exception $e) {
-                       $lockObj->sysLog('Failed to acquire lock: '.$e->getMessage(), t3lib_div::SYSLOG_SEVERITY_ERROR);
+                       t3lib_div::sysLog('Locking: Failed to acquire lock: '.$e->getMessage(), 'cms', t3lib_div::SYSLOG_SEVERITY_ERROR);
                        $success = false;       // If locking fails, return with false and continue without locking
                }