Ticket #1343: bp-core.php.patch
File bp-core.php.patch, 741 bytes (added by , 16 years ago) |
---|
-
bp-core.php
164 164 their own profile and wants to delete a post on their wire, is_item_admin is used. This is a 165 165 generic variable so it can be used in other components. It can also be modified, so when viewing a group 166 166 'is_item_admin' would be 1 if they are a group admin, 0 if they are not. */ 167 $bp->is_item_admin = bp_is_home() ;167 $bp->is_item_admin = bp_is_home() && ! ( $bp->current_component == BP_ACTIVITY_SLUG && $bp->current_action == 'my-friends'); 168 168 169 169 /* Used to determine if the logged in user is a moderator for the current content. */ 170 170 $bp->is_item_mod = false;