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

Changeset 9643


Ignore:
Timestamp:
Dec 23, 2008, 6:52:32 PM (14 years ago)
Author:
ogawa
Message:

fixed fatal error in mobile_frontend/member/profileSuccess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/mobile_frontend/modules/member/templates/profileSuccess.php

    r9060 r9643  
    3535<?php
    3636$list = array();
    37 foreach ($member->getFriends(5) as $friend) {
    38   $friendMember = $friend->getMemberRelatedByMemberIdTo();
     37foreach ($member->getFriends(5) as $friendMember)
     38{
    3939  $list[] = link_to(sprintf('%s(%d)', $friendMember->getName(), $friendMember->countFriends()), 'member/profile?id='.$friendMember->getId());
    4040}
     
    4646  ),
    4747);
    48 include_list_box('profileEdit', $list, $options);
     48include_list_box('friendList', $list, $options);
    4949?>
    5050
    5151<?php
    5252$list = array();
    53 foreach ($communities as $community) {
     53foreach ($communities as $community)
     54{
    5455  $list[] = link_to($community->getName(), 'community/home?id='.$community->getId());
    5556}
     
    6162  ),
    6263);
    63 include_list_box('profileEdit', $list, $options);
     64include_list_box('communityList', $list, $options);
    6465?>
Note: See TracChangeset for help on using the changeset viewer.