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

[eluser]oppenheimer[/eluser]
I think the JOIN is interpreting the beginning of the table named "12-users" as a number.

Code:
$this->db->select('roles.name');
$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/
#2

[eluser]oppenheimer[/eluser]
Looks like a bug report was already filed on incorrect escaping with active record join:

http://codeigniter.com/bug_tracker/bug/7692/




Theme © iAndrew 2016 - Forum software by © MyBB