The Consents_model.php will set the created and modified time.

This commit is contained in:
Alex Tselegidis 2020-04-23 20:36:01 +02:00
parent 13dfc33581
commit 6792e3526e
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class Consents_model extends CI_Model {
protected function _insert($consent)
{
$consent['created'] = time();
$consent['modified'] = time();
if ( ! $this->db->insert('ea_consents', $consent))
{