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

Changeset 10197


Ignore:
Timestamp:
Jan 17, 2009, 6:44:09 PM (11 years ago)
Author:
ebihara
Message:

fixed member/sarch doesn't work correctly when a member doesn't write its self_intro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/searchSuccess.php

    r9614 r10197  
    1818  $list[$key] = array();
    1919  $list[$key][__('ニックネーム')] = $member->getName();
    20   $list[$key][$member->getProfile('self_intro')->getCaption()] = $member->getProfile('self_intro');
     20  if ($member->getProfile('self_intro'))
     21  {
     22    $list[$key][$member->getProfile('self_intro')->getCaption()] = $member->getProfile('self_intro');
     23  }
    2124  $list[$key][__('最終ログイン')] = distance_of_time_in_words($member->getLastLoginTime());
    2225}
Note: See TracChangeset for help on using the changeset viewer.