Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
Pass-through custom connection
Browse files Browse the repository at this point in the history
  • Loading branch information
harto committed May 1, 2014
1 parent 47ac343 commit 66a9197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pheasant/Mapper/RowMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function delete($object)
*/
public function query(Criteria $criteria=null, $alias=null)
{
$query = new Query();
$query = new Query($this->_connection);

if($alias) {
$query->from($this->_tableName." AS ".$alias);
Expand Down

0 comments on commit 66a9197

Please sign in to comment.