1
0
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:
Jean Paul Galea 2015-09-10 20:31:39 +02:00
parent 06bf821555
commit 5d9459ec5c

View File

@ -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);
}