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:25:20 +02:00
parent a3421284e1
commit d6433c81ab

View File

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