1
0
Fork 0

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

View file

@ -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");