Changeset 459

Show
Ignore:
Timestamp:
07/18/06 20:38:55 (2 years ago)
Author:
ben
Message:

Profile edit menu item no longer conflicts with communities.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/profile/lib.php

    r427 r459  
    2020        } 
    2121 
    22         if (profile_permissions_check("profile") && context === "profile") { 
     22        if (profile_permissions_check("profile") && context === "profile" && run("users:type:get", $page_owner) == "person") { 
    2323 
    2424            $PAGE->menu_sub[] = array( 'name' => 'profile:edit',