]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
pass profile correctly to show_owner_controls
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 20:13:51 +0000 (15:13 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 20:13:51 +0000 (15:13 -0500)
darcs-hash:20081208201351-5ed1f-e74df1c59589816c24a0ccd867cbae714cd7daec.gz

lib/profilelist.php

index 7461f941547f938cd55a1805c3de8386875e15f3..9079ea9d7c64c162d3794c3720b09c884e8c1939 100644 (file)
@@ -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');