mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-08 03:54:20 +01:00
Rename variable.
This commit is contained in:
parent
5d9459ec5c
commit
d34eb7895f
@ -60,13 +60,13 @@ class Log
|
|||||||
foreach ($this->fields as $val)
|
foreach ($this->fields as $val)
|
||||||
$prefix .= "[$val] ";
|
$prefix .= "[$val] ";
|
||||||
|
|
||||||
$final = '';
|
$suffix = '';
|
||||||
if (is_array($extra)) {
|
if (is_array($extra)) {
|
||||||
foreach($extra as $key => $value) {
|
foreach($extra as $key => $value) {
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = implode(':', $value);
|
$value = implode(':', $value);
|
||||||
}
|
}
|
||||||
$final .= " $key=$value ";
|
$suffix .= " $key=$value ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,6 +75,6 @@ class Log
|
|||||||
$this->name . ':' .
|
$this->name . ':' .
|
||||||
$prefix.
|
$prefix.
|
||||||
$message .
|
$message .
|
||||||
$final);
|
$suffix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user