]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix bug with undefined variable
authorEvan Prodromou <evan@status.net>
Mon, 14 Mar 2011 20:55:55 +0000 (16:55 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 16 Mar 2011 13:57:10 +0000 (09:57 -0400)
lib/accountprofileblock.php

index e75527b288589b6ad0f26ab7bb6b6688faaf1e1d..f31503353dd297dcf409863771b2904b5e83296e 100644 (file)
@@ -81,7 +81,7 @@ class AccountProfileBlock extends ProfileBlock
     function canEdit()
     {
         $user = common_current_user();
-        return ((!empty($user)) && ($user->id == $profile->id));
+        return ((!empty($user)) && ($user->id == $this->profile->id));
     }
 
     function editUrl()