mirror of
https://github.com/friendica/friendica
synced 2024-11-10 13:42:53 +00:00
commit
d5f80f54d4
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
function starred_init(&$a) {
|
function starred_init(&$a) {
|
||||||
|
|
||||||
|
require_once("include/threads.php");
|
||||||
|
|
||||||
$starred = 0;
|
$starred = 0;
|
||||||
|
|
||||||
if(! local_user())
|
if(! local_user())
|
||||||
|
@ -27,7 +29,9 @@ function starred_init(&$a) {
|
||||||
intval(local_user()),
|
intval(local_user()),
|
||||||
intval($message_id)
|
intval($message_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
update_thread($message_id);
|
||||||
|
|
||||||
// See if we've been passed a return path to redirect to
|
// See if we've been passed a return path to redirect to
|
||||||
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
|
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
|
||||||
if($return_path) {
|
if($return_path) {
|
||||||
|
|
Loading…
Reference in a new issue