aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-05 08:32:21 +0000
committerMario <mario@mariovavti.com>2020-11-05 08:32:21 +0000
commit953c2947782cdd34a40eafc45f90125696a2fc91 (patch)
treee07057a9dacde29fe6abb93a42da7aed7c8fe0d2
parent207df132e69bd3e70f28addbd63bd3c638da9b08 (diff)
downloadvolse-hubzilla-953c2947782cdd34a40eafc45f90125696a2fc91.tar.gz
volse-hubzilla-953c2947782cdd34a40eafc45f90125696a2fc91.tar.bz2
volse-hubzilla-953c2947782cdd34a40eafc45f90125696a2fc91.zip
wrong variable name
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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();
}
}