fallback to local URL if reply->getUrl() is missing
Remote Activity notices generally don't have a proper HTTP URL associated.
This commit is contained in:
		@@ -1851,7 +1851,7 @@ class Notice extends Managed_DataObject
 | 
			
		||||
            try {
 | 
			
		||||
                $reply = $this->getParent();
 | 
			
		||||
                $ctx->replyToID  = $reply->getUri();
 | 
			
		||||
                $ctx->replyToUrl = $reply->getUrl();
 | 
			
		||||
                $ctx->replyToUrl = $reply->getUrl(true);    // true for fallback to local URL, less messy
 | 
			
		||||
            } catch (NoParentNoticeException $e) {
 | 
			
		||||
                // This is not a reply to something
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user