fix star icon viewing profile page as unlogged user
This commit is contained in:
parent
41617ee987
commit
dfb3ee6e29
|
@ -450,7 +450,7 @@ function conversation(&$a, $items, $mode, $update) {
|
||||||
);
|
);
|
||||||
|
|
||||||
$star = false;
|
$star = false;
|
||||||
$starred = "unstarred";
|
$isstarred = "unstarred";
|
||||||
if ($profile_owner == local_user() && $toplevelpost) {
|
if ($profile_owner == local_user() && $toplevelpost) {
|
||||||
$isstarred = (($item['starred']) ? "starred" : "unstarred");
|
$isstarred = (($item['starred']) ? "starred" : "unstarred");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue