EllisLab/CodeIgniter — pull request #738 by ericbarnes (2011-12-04 05:03:43+00:00)
Title: Fix for is_unique when you are not connected to a db. Refs: #724

I wanted to get some feedback on this change and make sure this is the cleanest way to fix the issue. You can see the issue here #724 and basically if you call this with no db connection then it throws a PHP Undefined property message.