1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-08 03:54:20 +01:00

Cosmetic changes.

This commit is contained in:
Jean Paul Galea 2015-07-17 00:11:07 +02:00
parent f4bb4d317e
commit cc4eba8a56

View File

@ -68,12 +68,15 @@ $syncParams = array(
// extract values from HTTP request
$tmp_log = 'Received ';
foreach ($syncParams as $param=>$value) {
foreach ($syncParams as $param => $value)
{
$value = getHttpVal($param, NULL);
if ($value==NULL) {
if ($value == NULL) {
$myLog->log(LOG_NOTICE, "Received request with parameter[s] ($param) missing value");
sendResp(S_MISSING_PARAMETER, $myLog);
}
$syncParams[$param] = $value;
$tmp_log .= "$param=$value ";
}