diff --git a/lib/Service/RowService.php b/lib/Service/RowService.php index 7a264cb9c..c5999db88 100644 --- a/lib/Service/RowService.php +++ b/lib/Service/RowService.php @@ -143,7 +143,7 @@ public function create( foreach ($data as $entry) { if (!in_array($entry['columnId'], $columns)) { - throw new InternalError('Column with id '.$entry['columnId'].' is not part of view with id '.$viewId ?? $tableId); + throw new InternalError('Column with id '.$entry['columnId'].' is not part of view with id '.$viewId); } }