From 5e2b63f6882bfeb65b9106e2a05d65562f226a1c Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Tue, 27 Jun 2023 18:25:47 +0000 Subject: [PATCH] fixes #2788 Closes #2788 Merge request studip/studip!1884 --- lib/classes/UserManagement.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/UserManagement.class.php b/lib/classes/UserManagement.class.php index 516c9040a3a..67f5ae2b4ae 100644 --- a/lib/classes/UserManagement.class.php +++ b/lib/classes/UserManagement.class.php @@ -1008,7 +1008,7 @@ class UserManagement if ($delete_names) { $query = "UPDATE auth_user_md5 - SET username = ?, Vorname = NULL, Nachname = NULL, Email = NULL + SET username = ?, Vorname = '', Nachname = '', Email = '' WHERE user_id = ?"; $statement = DBManager::get()->prepare($query); $statement->execute([ -- GitLab