mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
Rename variable.
This commit is contained in:
parent
06bf821555
commit
5d9459ec5c
@ -56,9 +56,9 @@ class Log
|
||||
|
||||
public function log ($priority, $message, $extra = NULL)
|
||||
{
|
||||
$fields = '';
|
||||
$prefix = '';
|
||||
foreach ($this->fields as $val)
|
||||
$fields .= "[$val] ";
|
||||
$prefix .= "[$val] ";
|
||||
|
||||
$final = '';
|
||||
if (is_array($extra)) {
|
||||
@ -73,7 +73,7 @@ class Log
|
||||
syslog($priority,
|
||||
$this->log_levels[$priority] . ':' .
|
||||
$this->name . ':' .
|
||||
$fields .
|
||||
$prefix.
|
||||
$message .
|
||||
$final);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user