Changeset 15964


Ignore:
Timestamp:
2007/09/24 10:47:39 (15 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_DbConn.php

    r15963 r15964  
    4949            } 
    5050        } 
     51         
    5152        $this->conn = $objDbConn; 
    5253        $this->conn_mdb2 = $objDbConnMDB2; 
     
    5455        $this->error_mail_title = DB_ERROR_MAIL_SUBJECT; 
    5556        $this->err_disp = $err_disp; 
     57         
     58        $this->conn_mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC);  
    5659    } 
    5760     
     
    125128        if ( $arr ){ 
    126129            //$result = $this->conn->getAll($n, $arr, DB_FETCHMODE_ASSOC); 
    127             $result = $this->conn_mdb2->extended->getAll($n, null, $arr, DB_FETCHMODE_ASSOC); 
     130            $result = $this->conn_mdb2->extended->getAll($n, null, $arr); 
    128131        } else { 
    129132            //$result = $this->conn->getAll($n, DB_FETCHMODE_ASSOC); 
    130             $result = $this->conn_mdb2->extended->getAll($n, null, DB_FETCHMODE_ASSOC); 
     133            $result = $this->conn_mdb2->extended->getAll($n, null); 
    131134        } 
    132135         
Note: See TracChangeset for help on using the changeset viewer.