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

Changeset 7063


Ignore:
Timestamp:
May 9, 2008, 2:41:20 PM (11 years ago)
Author:
ebihara
Message:

#2377:キーワード指定のないトピック検索のトピック総数が取得できていなかったのを修正

File:
1 edited

Legend:

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

    r7059 r7063  
    30523052    }
    30533053
    3054     $sql = 'SELECT COUNT(c_commu_topic_id) FROM c_commu'
    3055          . ' AS c INNER JOIN c_commu_topic USING(c_commu_id)' . $where;
     3054    $sql = 'SELECT COUNT(ct.c_commu_topic_id) FROM c_commu'
     3055         . ' INNER JOIN c_commu_topic AS ct USING(c_commu_id)' . $where;
    30563056    $total_num = db_get_one($sql, $params);
    30573057
Note: See TracChangeset for help on using the changeset viewer.