mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
Starring now works again
This commit is contained in:
parent
0eafed3353
commit
3da39a0b0d
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
|
||||
function starred_init(&$a) {
|
||||
|
||||
require_once("include/threads.php");
|
||||
|
||||
$starred = 0;
|
||||
|
||||
if(! local_user())
|
||||
|
@ -28,6 +30,8 @@ function starred_init(&$a) {
|
|||
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) {
|
||||
|
|
Loading…
Reference in a new issue