1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 01:52:15 +01:00

Fix undefined warnings. Solves Issue #8.

This commit is contained in:
Simon Josefsson 2010-04-23 17:36:23 +00:00
parent 3545c4a8c5
commit f33e6413fe
3 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@
*
* LICENSE:
*
* Copyright (c) 2009 Yubico. All rights reserved.
* Copyright (c) 2009, 2010 Yubico. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -56,7 +56,7 @@ class Db
* @return void
*
*/
public function __construct($db_dsn, $db_username, $db_password, $dp_options, $name='ykval-db')
public function __construct($db_dsn, $db_username, $db_password, $db_options, $name='ykval-db')
{
$this->db_dsn=$db_dsn;
$this->db_username=$db_username;

View File

@ -66,7 +66,7 @@ foreach ($syncParams as $param=>$value) {
exit;
}
$syncParams[$param]=$value;
$local_log .= "$param=$value ";
$tmp_log .= "$param=$value ";
}
$myLog->log(LOG_INFO, $tmp_log);

View File

@ -159,7 +159,6 @@ class SyncLib
}
if ($res) {
$localParams=array('modified'=>$res['modified'],
'otp'=>$res['otp'],
'nonce'=>$res['nonce'],
'active'=>$res['active'],
'yk_publicname'=>$yk_publicname,