From 6792e3526ed9a40467e290ff7ee4ede3e88527dc Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 23 Apr 2020 20:36:01 +0200 Subject: [PATCH] The Consents_model.php will set the created and modified time. --- application/models/Consents_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Consents_model.php b/application/models/Consents_model.php index 7ac5ae1c..75d60272 100644 --- a/application/models/Consents_model.php +++ b/application/models/Consents_model.php @@ -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)) {