ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Feb 27, 2009, 6:07:54 PM (13 years ago)
Author:
ShogoKawahara
Message:

#3278:added ability to render admin icon for community administrator on profile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/action/sfOpenPNEMemberAction.class.php

    r10706 r10907  
    113113    $id = $this->getRequestParameter('id', $this->getUser()->getMemberId());
    114114    $this->member = MemberPeer::retrieveByPk($id);
     115   
     116    $this->forward404Unless($this->member, 'Undefined member.');
     117
    115118    $this->communities = CommunityPeer::retrievesByMemberId($id);
    116     $this->forward404Unless($this->member, 'Undefined member.');
     119    $this->crownIds = CommunityMemberPeer::getCommunityIdsOfAdminByMemberId($id);
    117120
    118121    return sfView::SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.