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

Changeset 10874


Ignore:
Timestamp:
Feb 26, 2009, 2:12:12 PM (11 years ago)
Author:
kiwa
Message:

#3651:db_adminのかきかたを変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/lib/db_admin.php

    r10846 r10874  
    35813581function db_admin_update_c_point_clear($value)
    35823582{
    3583     $sql = 'SELECT c_profile_id FROM c_profile where name = \'PNE_POINT\'';
    3584     $c_profile_id =  db_get_one($sql);
     3583    $sql = 'SELECT c_profile_id FROM c_profile where name = ?';
     3584    $params = array('PNE_POINT');
     3585    $c_profile_id =  db_get_one($sql, $params);
    35853586    $data = array('value' => $value);
    35863587    $where = array('c_profile_id' => intval($c_profile_id));
Note: See TracChangeset for help on using the changeset viewer.