diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 12:53:21 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 12:53:21 +0400 |
commit | 20c4d54d5360a23423c4e05be7ca127d6b8996cc (patch) | |
tree | f12612b481aa61a741e03dd5d82c3bacd78b81d7 /core/Log.php | |
parent | b6b9e5052f2d8f9c8559c265a2cd8110939cf0ea (diff) |
Fix php 5.3 bug.
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Log.php b/core/Log.php index fdfabe1462..287b5c7f8e 100644 --- a/core/Log.php +++ b/core/Log.php @@ -371,7 +371,7 @@ class Log private function writeMessage($level, $pluginName, $datetime, $message) { foreach ($this->writers as $writer) { - $writer($level, $pluginName, $datetime, $message); + call_user_func($writer, $level, $pluginName, $datetime, $message); } // errors are always printed to screen |