aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 166dbb4fb..4053c15b2 100644
--- a/include/text.php
+++ b/include/text.php
@@ -564,7 +564,7 @@ function logger($msg, $level = 0) {
call_hooks('logger',$pluginfo);
if(! $pluginfo['logged'])
- @file_put_contents($logfile, $s, FILE_APPEND);
+ @file_put_contents($pluginfo['filename'], $pluginfo['message'], FILE_APPEND);
}
/**