commit | f08548b2b88324c36729a7dd4d179a9e1076dc14 | [log] [tgz] |
---|---|---|
author | Mike Funk <mfunk@xulonpress.com> | Tue Sep 06 17:40:17 2011 -0400 |
committer | Mike Funk <mfunk@xulonpress.com> | Tue Sep 06 17:40:17 2011 -0400 |
tree | 8f71f09d06d3c6152a7aefd410f8f14225e17b7c | |
parent | 27a883c946ee524bb7930edfcfc6e8c153119929 [diff] |
Fixed int typecasting of limit parameter in DB_active_rec.php If an empty string was passed, the typecast was changing it to 0. This produced "LIMIT 0" which returned no results. This must be a bug and not a feature because there are other params after limit in both $this->db->limit and $this->db->get.