summaryrefslogtreecommitdiff
path: root/plugins/debug_logger/debug_logger.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-01 15:49:23 +0000
committeralecpl <alec@alec.pl>2009-09-01 15:49:23 +0000
commit57307bc782990b4f4cba70708f5a44cb3a2cd502 (patch)
tree0d1f36978a12853f223df999e94c1bf68d1ddb87 /plugins/debug_logger/debug_logger.php
parente0480e9df88af3d2da99016ddd11b04281b8b568 (diff)
- fix debug_backtrace() call for PHP < 5.2.5
Diffstat (limited to 'plugins/debug_logger/debug_logger.php')
-rw-r--r--plugins/debug_logger/debug_logger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/debug_logger/debug_logger.php b/plugins/debug_logger/debug_logger.php
index 8cd335187..f04ba6a61 100644
--- a/plugins/debug_logger/debug_logger.php
+++ b/plugins/debug_logger/debug_logger.php
@@ -107,7 +107,7 @@ class debug_logger extends rcube_plugin
if(!isset($args[1])){
// This could be extended to detect types based on the
// file which called console. For now only rcube_imap.inc is supported
- $bt = debug_backtrace(true);
+ $bt = debug_backtrace();
$file = $bt[3]['file'];
switch(basename($file)){
case 'rcube_imap.php':