summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-08 15:13:51 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-08 15:13:51 -0500
commitd8c933cd5445902db4d068975f957c92d5afb314 (patch)
treeb02e721bc897ebb9d830e52fce638a46c3351d22 /lib
parentfa81041ec7e94ad1b6dfb71ca4de098d5e68cd3f (diff)
pass profile correctly to show_owner_controls
darcs-hash:20081208201351-5ed1f-e74df1c59589816c24a0ccd867cbae714cd7daec.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/profilelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 7461f9415..9079ea9d7 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -151,7 +151,7 @@ class ProfileList {
}
if ($user && $user->id == $this->owner->id) {
- $this->show_owner_controls($profile);
+ $this->show_owner_controls($this->profile);
}
common_element_end('li');