Welcome Guest, Not a member yet? Register   Sign In
Active Record Join bug?

I think the JOIN is interpreting the beginning of the table named "12-users" as a number.

$this->db->JOIN('roles', '12-users.role_id = roles.id');
$query = $this->db->get('12-users');

Perhaps this is normal behavior and I need to change my table name?

See post http://ellislab.com/forums/viewthread/124265/

Looks like a bug report was already filed on incorrect escaping with active record join:


Theme © iAndrew 2016 - Forum software by © MyBB