Hi Guys,
I'm using the new amazing Database Abstraction layer, and I've had a problem using the join method, because it returns a sting instead an Object. After a little investigation on includes/database/select.inc, at line 1345 I found out the problem:
SelectQuery->addJoin method returns the string $alias instead the SelectQuery object.
The patch is pretty simple, change 1345 line in select.inc
from: return $alias;
to: return $this;
I think this solution could avoid big headache to someone :)
Bye
Comments
Comment #1
damien tournoud commentedThis is by design.
addJoin()is one of the few methods that are not fluid.Comment #2
aidanlis commented