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

Changeset 7272


Ignore:
Timestamp:
May 19, 2008, 6:24:25 PM (12 years ago)
Author:
ebihara
Message:

#2365:ポータルトップページの「イベント予定」に非公開コミュニティのイベントタイトルが表示されてしまっていたのを修正(thanks to sawai)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/modules/portal/lib/db_portal.php

    r7012 r7272  
    257257function db_portal_c_commu_event($today, $from, $count)
    258258{
    259     $sql = 'select cc.name as community_name, cct.name as event_name, cct.open_date as open_date from c_commu cc, c_commu_topic cct where cc.c_commu_id = cct.c_commu_id and cct.event_flag = ? and cct.open_date > ? order by cct.open_date';
    260     $params = array('1', $today);
     259    $sql = 'select cc.name as community_name, cct.name as event_name, cct.open_date as open_date from c_commu cc, c_commu_topic cct where cc.c_commu_id = cct.c_commu_id and cct.event_flag = ? and cct.open_date > ? and public_flag = ? order by cct.open_date';
     260    $params = array('1', $today, 'public');
    261261    return db_get_all_limit($sql, $from, $count, $params);
    262262}
Note: See TracChangeset for help on using the changeset viewer.