fix star icon viewing profile page as unlogged user

This commit is contained in:
Fabio Comuni 2011-09-30 14:31:01 +02:00
parent 41617ee987
commit dfb3ee6e29
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ function conversation(&$a, $items, $mode, $update) {
);
$star = false;
$starred = "unstarred";
$isstarred = "unstarred";
if ($profile_owner == local_user() && $toplevelpost) {
$isstarred = (($item['starred']) ? "starred" : "unstarred");