Dotclear

Changeset 2073:9964def5a701 for inc/core


Ignore:
Timestamp:
09/24/13 22:03:30 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Fixes some tests on mysqli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r1743 r2073  
    21962196           
    21972197          # pgSQL uses "FROM" synthax 
    2198           if ($this->con->driver() != 'mysql' || $this->con->driver() == 'mysqli') { 
     2198          if ($this->con->driver() != 'mysql' && $this->con->driver() != 'mysqli') { 
    21992199               $strReq .=  
    22002200                    'FROM '.$this->prefix.'post tp '; 
     
    22062206           
    22072207          # add pgSQL "WHERE" clause 
    2208           if ($this->con->driver() != 'mysql' || $this->con->driver() == 'mysqli') { 
     2208          if ($this->con->driver() != 'mysql' && $this->con->driver() != 'mysqli') { 
    22092209               $strReq .=  
    22102210                    'AND tc.post_id = tp.post_id '; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map