From 3da39a0b0d5c32560b7f9c187329121f3f746757 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 29 May 2014 14:17:37 +0200 Subject: [PATCH] Starring now works again --- mod/starred.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/starred.php b/mod/starred.php index 3bfc75f679..2a89ac768b 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -3,6 +3,8 @@ function starred_init(&$a) { + require_once("include/threads.php"); + $starred = 0; if(! local_user()) @@ -27,7 +29,9 @@ function starred_init(&$a) { intval(local_user()), intval($message_id) ); - + + update_thread($message_id); + // See if we've been passed a return path to redirect to $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : ''); if($return_path) {