diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 52dcbc1f67..a440c4dd62 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -158,6 +158,8 @@ class NoticeListItem extends Widget $this->showParent(); } catch (NoParentNoticeException $e) { // no parent notice + } catch (InvalidUrlException $e) { + // parent had an invalid URL so we can't show it } if ($this->addressees) { $this->showAddressees(); } $this->elementEnd('div');