codeigniter-base-model
codeigniter-base-model copied to clipboard
Fatal error: where() is not defined
Recent changes appear to have broken some functionality. My app cannot run update_by or delete_by, I get an error that the method where() does not exist on _database.
From what I can tell, the call $this->_database = $this->load->database() is returning NULL. A previous version of this model is working fine in it's place.
I was starting to work on a new application and I have noticed the same thing, the last merge has broken the class.
Line 873
Change:
$this->load->database();
To:
$this->load->database('', TRUE);
God damn it, sorry for fail commits, I'm new one in Github :)