[eluser]bigtony[/eluser]
You're going to kick yourself...
Code:
// change this
$this->database->getFieldsAll('info');
// to this
$query = $this->database->getFieldsAll('info');
Also, in your getFieldsAll() function, if the number of rows is not 1 you are not returning anything, but surely you should return FALSE in these instance, like this:
Code:
// this will correctly return TRUE or FALSE
return ($query->num_rows == 1);