1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-01 15:24:16 +01:00

added '' around yk_publicname

This commit is contained in:
Olov Danielson 2010-01-25 16:51:58 +00:00
parent 6def2cacf3
commit e2960add2f

View File

@ -45,7 +45,7 @@ while ($res=fscanf(STDIN, "%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%s\t%s\t")) {
",yk_high='" . $params["yk_high"] . "' " . ",yk_high='" . $params["yk_high"] . "' " .
",nonce='" . $params["nonce"] . "' " . ",nonce='" . $params["nonce"] . "' " .
",notes='" . $params["notes"] . "' " . ",notes='" . $params["notes"] . "' " .
"WHERE yk_publicname=" . $params['yk_publicname'] . " AND " . "WHERE yk_publicname='" . $params['yk_publicname'] . "' AND " .
"(".$params['yk_counter'].">yk_counter or (".$params['yk_counter']."=yk_counter and " . "(".$params['yk_counter'].">yk_counter or (".$params['yk_counter']."=yk_counter and " .
$params['yk_use'] . ">yk_use))"; $params['yk_use'] . ">yk_use))";