Changeset 3646

Show
Ignore:
Timestamp:
01/27/08 15:02:45 (17 months ago)
Author:
pookey
Message:

a previous commit of mine broke method chaining

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Query/Abstract.php

    r3641 r3646  
    11051105        // if there's no params, return (else we'll get a WHERE IN (), invalid SQL) 
    11061106        if (!count($params)) 
    1107           return; 
     1107          return $this; 
    11081108 
    11091109        $a = array(); 
  • branches/0.9/lib/Doctrine/Query/Abstract.php

    r3641 r3646  
    9090        // if there's no params, return (else we'll get a WHERE IN (), invalid SQL) 
    9191        if (!count($params)) 
    92           return; 
     92          return $this; 
    9393 
    9494        $a = array(); 
  • trunk/lib/Doctrine/Query/Abstract.php

    r3641 r3646  
    11401140        // if there's no params, return (else we'll get a WHERE IN (), invalid SQL) 
    11411141        if (!count($params)) 
    1142           return; 
     1142          return $this; 
    11431143 
    11441144        $a = array();