[eluser]sqwk[/eluser]
I am just saw this in the profiler: or_like seems to use AND instead. I checked the database classes but couldn't find anything suspicious. Can someone test whether they have the same problem? (I am using 2.0)
Code:
// This active record line
$this->db->or_like('username', $username);
// writes this part of the query:
AND username LIKE '%foo%'
EDIT: The problem is fixed by moving the active record line around a bit—why exactly it would output AND instead of OR in specific situations I do not know though…