Skip to content

Commit

Permalink
41913: error when clikcing on access-Codes in survey
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Nov 15, 2024
1 parent 8612a2a commit 50f4cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modules/Survey/classes/class.ilObjSurvey.php
Original file line number Diff line number Diff line change
Expand Up @@ -3725,9 +3725,9 @@ public function getSurveyCodesTableData(

if ($row["externaldata"]) {
$ext = unserialize((string) $row["externaldata"], ['allowed_classes' => false]);
$item['email'] = $ext['email'];
$item['last_name'] = $ext['lastname'];
$item['first_name'] = $ext['firstname'];
$item['email'] = $ext['email'] ?? "";
$item['last_name'] = $ext['lastname'] ?? "";
$item['first_name'] = $ext['firstname'] ?? "";
}

$codes[] = $item;
Expand Down

0 comments on commit 50f4cbd

Please sign in to comment.