From e51cca5286a99db1919bfbf83a4da735bfac1d48 Mon Sep 17 00:00:00 2001 From: Cleopatra Enjeck M Date: Fri, 31 May 2024 14:37:09 +0100 Subject: [PATCH] fix: use correct variable Signed-off-by: Cleopatra Enjeck M --- lib/Db/Row2Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/Row2Mapper.php b/lib/Db/Row2Mapper.php index fd5a45902..509ff7196 100644 --- a/lib/Db/Row2Mapper.php +++ b/lib/Db/Row2Mapper.php @@ -725,7 +725,7 @@ private function insertOrUpdateCell(int $rowId, int $columnId, $value): void { if ($columnType == 'usergroup') { try { // TODO Maybe these should be a transaction? - $cellMapper->deleteAllForRow($row->getId()); + $cellMapper->deleteAllForRow($rowId); $this->insertCell($rowId, $columnId, $value); } catch (Exception $e) { $this->logger->error($e->getMessage(), ['exception' => $e]);