View Single Post
  #10 (permalink)  
Old 06-03-2008, 11:12 AM
mel mel is offline
Junior Member
 
Join Date: Feb 2008
Posts: 11
Default

And, I've just found a solution
Adapted from a Nabble forum thread (second-to-last post):

PHP Code:
$select $this->select();
$select->join('user''user.id = message.user_id', array())
         ->
where('u.name LIKE ?'$name); 
The fix was adding an empty columns array to the join. Hope this helps someone...
Reply With Quote