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

Changeset 11287


Ignore:
Timestamp:
Apr 13, 2009, 9:43:18 PM (13 years ago)
Author:
shingo
Message:

不具合対応の取り消し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/friend.php

    r10991 r11287  
    361361            " FROM c_member,".
    362362                "c_friend".
    363             " WHERE c_member.c_member_id = c_friend.c_member_id_to".
    364                 " AND c_friend.c_member_id_from = ?".
     363            " WHERE c_member.c_member_id = c_friend.c_member_id_from".
     364                " AND c_friend.c_member_id_to = ?".
    365365            " ORDER BY c_friend.r_datetime DESC";
    366366    $params = array(intval($c_member_id));
     
    368368
    369369    foreach ($c_friend_list as $key => $value) {
    370         $c_friend = db_friend_c_friend4c_member_id_from4c_member_id_to($value['c_member_id_from'], $value['c_member_id_to']);
     370        $c_friend = db_friend_c_friend4c_member_id_from4c_member_id_to($value['c_member_id_to'], $value['c_member_id_from']);
    371371        $c_friend_list[$key]['intro'] = $c_friend['intro'];
    372372
    373         $c_friend_list[$key]['friend_count'] = db_friend_count_friends($value['c_member_id_to']);
     373        $c_friend_list[$key]['friend_count'] = db_friend_count_friends($value['c_member_id_from']);
    374374    }
    375375
Note: See TracChangeset for help on using the changeset viewer.