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

Changeset 10178


Ignore:
Timestamp:
Jan 15, 2009, 4:06:53 PM (12 years ago)
Author:
kiwa
Message:

#3242:修正箇所が間違っていた部分を修正(trunk)

File:
1 edited

Legend:

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

    r10177 r10178  
    13621362            $where .= " and substr(r_datetime::text,1, 7) = ? ";
    13631363        } else {
    1364             $where .= " and left(r_datetime::text, 7) = ? ";
     1364            $where .= " and left(r_datetime, 7) = ? ";
    13651365        }
    13661366        array_push($params,substr($ymd,0,7));
    13671367    } else {
    13681368        if ($GLOBALS['_OPENPNE_DSN_LIST']['main']['dsn']['phptype'] == 'pgsql') {
    1369             $where .= " and substr(r_datetime,1,10) = ? ";
     1369            $where .= " and substr(r_datetime::text,1,10) = ? ";
    13701370        } else {
    13711371            $where .= " and left(r_datetime,10) = ? ";
Note: See TracChangeset for help on using the changeset viewer.