Mukul Kumar

Results 2 comments of Mukul Kumar

instead string(), it should be an isset() like this: `return ltrim(isset(load_class('Router', 'core')->directory), '/').implode('/', $this->rsegments);`

I have added few tests. it returns exact number of rows in Table. ``` $query = $this->db->get($tableName); $num_rows = $query->num_rows(); ``` ![num_rows_validate_3](https://github.com/bcit-ci/CodeIgniter/assets/81907379/a35852d3-b236-4a88-bc19-49ef5aacb8b3) ![num_rows_validate_2](https://github.com/bcit-ci/CodeIgniter/assets/81907379/6b4c5982-9bee-4894-819b-613786607c5d) ![num_rows_validate_1](https://github.com/bcit-ci/CodeIgniter/assets/81907379/7511dd6d-b2ee-43d6-a0bd-30903f5c478c)