diff --git a/src/applications/herald/controller/HeraldTranscriptController.php b/src/applications/herald/controller/HeraldTranscriptController.php index c08f54d3e8..f67a8f6334 100644 --- a/src/applications/herald/controller/HeraldTranscriptController.php +++ b/src/applications/herald/controller/HeraldTranscriptController.php @@ -297,7 +297,9 @@ final class HeraldTranscriptController extends HeraldController { default: if ($target) { foreach ($target as $k => $phid) { - $target[$k] = $handles[$phid]->getName(); + if (isset($handles[$phid])) { + $target[$k] = $handles[$phid]->getName(); + } } $target = implode("\n", $target); } else {