jamierumbelow/codeigniter-base-model — pull request #79 by efarem (2012-11-17 00:10:47+00:00)
Title: Relate

If return type is set to array the relate function breaks with a non-object error. Added a conditional to cater for arrays.