EllisLab/CodeIgniter — pull request #586 by blasto333 (2011-10-17 03:06:12+00:00)
Title: Check for string value before doing str_replace. (Issue #439)

This is a slight performance improvement that I forgot to do for issue 439. I should only be doing str_replace on strings.