Quote:If you didn’t have a parent, or set the limit on get(), everything was peachy keen.
Anywho, the bug’s been fixed, and you get your name on the credits page wink
Great
about the strings: Seems to me like the active record class is responsible - at least everywhere else, integers are used but in DB_active_rec.php the count_all_results() even returns a quoted 0
Code:
if ($query->num_rows() == 0)
{
return '0';
}
I don't know if that would make sense, but couldn't you just replace in datamapper.php?
Code:
return $this->db->count_all_results();
with
[code]
return (int) $this->db->count_all_results();
[/quote]