jamierumbelow/codeigniter-base-model — pull request #122 by yzou (2013-06-29 14:23:35+00:00)
Title: Fix db test in _set_database

The isset($this->db) will always return false in a model as it's a $CI property, then the database will be loaded for each model.