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

Changeset 7207


Ignore:
Timestamp:
May 14, 2008, 8:29:25 PM (11 years ago)
Author:
ebihara
Message:

#2318:db_diary_get_max_number4diary->db_diary_get_max_c_diary_comment_number4diary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/lib/db/diary.php

    r6805 r7207  
    11131113        'image_filename_2' => '',
    11141114        'image_filename_3' => '',
    1115         'number' => db_diary_get_max_number4diary($c_diary_id)+1,
     1115        'number' => db_diary_get_max_c_diary_comment_number4diary($c_diary_id)+1,
    11161116    );
    11171117    return db_insert('c_diary_comment', $data);
     
    11721172 * 現在の日記へのコメントのナンバーの最大値を返す
    11731173 */
    1174 function db_diary_get_max_number4diary($c_diary_id)
     1174function db_diary_get_max_c_diary_comment_number4diary($c_diary_id)
    11751175{
    11761176    $sql = 'SELECT MAX(number) FROM c_diary_comment WHERE c_diary_id = ?';
Note: See TracChangeset for help on using the changeset viewer.