Commit 03e0662d authored by Luke Ward's avatar Luke Ward
Browse files

Fix 500 on notifications page

parent 91d3e584
......@@ -201,7 +201,7 @@
$DtW->load('Discussions');
try {
$thread = $DtW->discussions->getThread($data->thread);
$post = $DtW->discussions->getPost($thread->ID);
$post = $DtW->discussions->getPost($thread->ID, $data->post);
} catch (\Exception $e) {
$messages = new \stdClass();
$message = "%s mentioned you in a deleted thread";
......
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