X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fstarred.php;h=2a89ac768bae20cb3150c48b3d5a841347790611;hb=5a8d66e2d4315a00eb45dec4b7f5fb88ed3dbc02;hp=3bfc75f67964df1c5107aecca6ff615d8323193c;hpb=6e7bd68ebb027b90398eee4fcc3bd73912a881e3;p=friendica.git 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) {