Added Vodia Identity Switcher for Xinon Users

This commit is contained in:
Frank Schubert
2025-06-24 11:32:53 +02:00
parent 2fbba259ed
commit 02a423d300
9 changed files with 508 additions and 17 deletions
+2 -2
View File
@@ -43,12 +43,12 @@ class WorkerFlag {
if($id) {
// update
$this->db->update("WorkerFlag", $values, "id=$id");
$this->db->update("WorkerFlag", $values, "id=$id", ["value"]);
} else {
// insert
$values['create_by'] = $this->user->id;
$values['create'] = date('U');
$id = $this->db->insert("WorkerFlag", $values);
$id = $this->db->insert("WorkerFlag", $values, ["value"]);
$this->id = $id;
}