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