1
1
Fork 0

The fetch function now centrally controls the content

This commit is contained in:
Michael 2018-06-24 10:48:29 +00:00
commit b03db4643f
14 changed files with 56 additions and 43 deletions

View file

@ -21,7 +21,7 @@ function starred_init(App $a) {
killme();
}
$item = Item::selectForUser(local_user(), ['starred'], ['uid' => local_user(), 'id' => $message_id]);
$item = Item::selectFirstForUser(local_user(), ['starred'], ['uid' => local_user(), 'id' => $message_id]);
if (!DBM::is_result($item)) {
killme();
}