UserEmailSummaryHandler: use $notice->getLocalUrl(), not getUrl()
getUrl() doesn't work on all notices anymore.
This commit is contained in:
		| @@ -173,7 +173,7 @@ class UserEmailSummaryHandler extends QueueHandler | ||||
|             $out->text(' '); | ||||
|             $out->raw($notice->rendered); | ||||
|             $out->elementStart('div', array('style' => 'font-size: 0.8em; padding-top: 4px;')); | ||||
|             $noticeurl = $notice->getUrl(); | ||||
|             $noticeurl = $notice->getLocalUrl(); | ||||
|             // above should always return an URL | ||||
|             assert(!empty($noticeurl)); | ||||
|             $out->elementStart('a', array('rel' => 'bookmark', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user