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

Changeset 3707


Ignore:
Timestamp:
Aug 14, 2007, 3:26:08 PM (12 years ago)
Author:
ToshihiroK
Message:

postgres対応:トピック検索機能修正対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/postgres/2_9_1/webapp/lib/db/commu.php

    r3706 r3707  
    30113011        $sql = 'SELECT body FROM c_commu_topic_comment WHERE number = 0 AND c_commu_topic_id = ?';
    30123012        $list[$key]['body'] = db_get_one($sql, $p);
     3013        $sql = 'SELECT MAX(number) FROM c_commu_topic_comment WHERE c_commu_topic_id = ?';
     3014        $list[$key]['max_number'] = db_get_one($sql, $p);
    30133015    }
    30143016
Note: See TracChangeset for help on using the changeset viewer.