lonnieezell/codeigniter-forensics — pull request #17 by Dianoga (2013-11-21 14:37:32+00:00)
Title: Better handle multiple databases if no queries were run on the last one

If the last db checked didn't have any queries, the profiler was showing no queries at all.