1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-12 15:54:27 +01:00

Cosmetic changes.

This commit is contained in:
Jean Paul Galea 2015-07-22 19:38:32 +00:00
parent bef2c0cd4a
commit 4c2d4414a0

View File

@ -74,18 +74,25 @@ function getHttpVal ($key, $default)
return $val; return $val;
} }
function log_format() { function log_format()
{
$str = ""; $str = "";
foreach (func_get_args() as $msg) foreach (func_get_args() as $msg)
{ {
if (is_array($msg)) { if (is_array($msg))
foreach($msg as $key => $value){ {
foreach ($msg as $key => $value)
{
$str .= "$key=$value "; $str .= "$key=$value ";
} }
} else { }
else
{
$str .= $msg . " "; $str .= $msg . " ";
} }
} }
return $str; return $str;
} }