mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-19 16:52:15 +01:00
Silence PHP warning.
This commit is contained in:
parent
f2b05822ef
commit
3954527d61
@ -136,7 +136,8 @@ class Db
|
||||
*/
|
||||
public function updateBy($table, $k, $v, $values)
|
||||
{
|
||||
|
||||
$query = "";
|
||||
|
||||
foreach ($values as $key=>$value){
|
||||
if (!is_null($value)) $query .= ' ' . $key . "='" . $value . "',";
|
||||
else $query .= ' ' . $key . '=NULL,';
|
||||
|
Loading…
x
Reference in New Issue
Block a user