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
a3421284e1
commit
d6433c81ab
@ -54,10 +54,10 @@ class Log
|
||||
$this->fields[$name] = $value;
|
||||
}
|
||||
|
||||
public function log ($priority, $message, $arr=null)
|
||||
public function log ($priority, $message, $extra = NULL)
|
||||
{
|
||||
if (is_array($arr)) {
|
||||
foreach($arr as $key => $value){
|
||||
if (is_array($extra)) {
|
||||
foreach($extra as $key => $value){
|
||||
if (is_array($value)) {
|
||||
$value = implode(':', $value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user