From 953c2947782cdd34a40eafc45f90125696a2fc91 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 5 Nov 2020 08:32:21 +0000 Subject: wrong variable name --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index a300ccf58..58cde7838 100644 --- a/include/text.php +++ b/include/text.php @@ -672,7 +672,7 @@ function bt_syslog($msg, $priority = LOG_INFO) { for($x = 1; $x < count($stack); $x ++) { $s = 'stack: ' . basename($stack[$x]['file']) . ':' . $stack[$x]['line'] . ':' . $stack[$x]['function'] . '()'; openlog("bt-log", LOG_PID | LOG_PERROR, LOG_LOCAL0); - syslog($priority, $msg); + syslog($priority, $s); closelog(); } } -- cgit v1.2.3