Commit 59bad556 authored by Luke Ward's avatar Luke Ward
Browse files

Fixed missing post id in notification link

parent 03e0662d
......@@ -169,7 +169,7 @@
return $messages;
}
$url = $thread->permalink . '?notification=' . $this->_notification->id . '#post-' . $post->ID;
$url = $thread->permalink . '?notification=' . $this->_notification->id . '#post-' . $post->id;
$messages = new \stdClass();
$message = "%s posted a new mesage in <a href='%s'>%s</a>";
......@@ -210,7 +210,7 @@
return $messages;
}
$url = $thread->permalink . '?notification=' . $this->_notification->id . '#post-' . $post->ID;
$url = $thread->permalink . '?notification=' . $this->_notification->id . '#post-' . $post->id;
$messages = new \stdClass();
$message = "%s mentioned you in <a href='%s'>%s</a>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment