summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-07 02:03:45 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-11 10:39:06 +0100
commitc0db74dcfbff431970ae1d829e776f466f1c4091 (patch)
tree642a489f2df54a58e03efe7dfd8cda4d37620758
parent00c14d22ded3868939f4999daa0a3c3e4203c20e (diff)
Another undefined object member.
-rw-r--r--lib/profilelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 898200d2d..766189ab4 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -89,7 +89,7 @@ class ProfileList extends Widget
'id' => 'profile-' . $this->profile->id));
$user = common_current_user();
- $is_own = !is_null($user) && ($user->id === $this->user->id);
+ $is_own = !is_null($user) && isset($this->user) && ($user->id === $this->user->id);
$this->out->elementStart('div', 'entity_profile vcard');