codeigniter-base-model
codeigniter-base-model copied to clipboard
unserialize method not checking row is empty
trafficstars
In your code at https://github.com/jamierumbelow/codeigniter-base-model/blob/master/core/MY_Model.php#L703 in this method you aren't actually checking if the row is empty or not as a result when it tries to unserialize it throws notice. So you better check if the row is empty or not first then unserialize.