Avoid exception for invalid URL aborting rendering for parent notice if it fails
This commit is contained in:
parent
0dfafe2567
commit
cf6e06a5dd
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user